xp-framework / http

HTTP protocol support for the XP Framework
2 stars 2 forks source link

Make DELETE put parameters into HTTP body #10

Closed kiesel closed 9 years ago

kiesel commented 9 years ago

This may be used in REST services where DELETE operations need additional data to operate.

Actually, I'm not sure whether the problem actually is that the decision of whether to put parameters into the Query String or into the HTTP parameter cannot fully be made just by the HTTP verb. A mixed mode is AFAIK not prohibited, but just not possible with this library.

kiesel commented 9 years ago

See http://stackoverflow.com/questions/18135215/rest-and-delete-passing-parameters

kiesel commented 9 years ago

On the second glimpse, this PR seems not to be the solution; obviously, there may be DELETE requests that send parameters through the QUERY_STRING in HTTP.

Will look into it.

thekid commented 9 years ago

Same as https://github.com/xp-framework/http/pull/4

kiesel commented 9 years ago

Duplicate, closing.