Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Conversation

@rachelbaker
Copy link
Member

This should have been removed as part of #1348. There is no need to set the Location header in update requests, because the response location isn't changing.

I found this while looking into #1436, and noticed that my response HTTP code when editing a user was 302 instead of the expected 200.

@rachelbaker rachelbaker added this to the 2.0 Beta 4 milestone Jul 28, 2015
@rachelbaker
Copy link
Member Author

@WP-API/amigos #reviewmerge

rmccue added a commit that referenced this pull request Jul 29, 2015
Don't set the Location header in update responses
@rmccue rmccue merged commit 0a3aec4 into develop Jul 29, 2015
@rmccue rmccue deleted the remove-update-location-header branch July 29, 2015 23:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants