parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

Cache idempotent requests responses

Open abubkr-hago opened this issue 1 year ago • 4 comments
trafficstars

New Feature / Enhancement Checklist

Current Limitation

Idempotent requests are now rejected with a 159 code error,

Feature / Enhancement Description

Instead of rejecting with an error, maybe there is a way to cache the response and respond with it on the next request?.

Example Use Case

A client SDK creates a Test ParseObject but doesn't recieve the response because of a network issue, the SDK tries to create the object again with the same X-Parse-Request-Id header, the server replies with the same object creation response instead of creating a new one.

Alternatives / Workarounds

N/A

3rd Party References

N/A

abubkr-hago avatar Sep 04 '24 04:09 abubkr-hago