Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

202 Accepted response to Update #114

Open
bismark opened this issue Aug 3, 2018 · 1 comment
Open

202 Accepted response to Update #114

bismark opened this issue Aug 3, 2018 · 1 comment

Comments

@bismark
Copy link

bismark commented Aug 3, 2018

Per the spec:

If the update operation caused the URL of the post to change, the server must respond with HTTP 201 and include the new URL in the HTTP Location header.

Just like the create operation a server may want to asynchronously create the post at this new URL, so allowing for a 202 to mirror create seems useful.

@jamietanna
Copy link
Contributor

I would also like this to be possible, as my server works asynchronously (as it interacts with a static site which needs a rebuild before changes can take effect)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants