Changes between Initial Version and Version 1 of Ticket #29364, comment 4
- Timestamp:
- May 4, 2018, 2:14:37 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29364, comment 4
initial v1 5 5 Our customer sent a POST request to /sequence_items (notice the missing slash). Their intention was to change the sequence, so they sent the correct request type, but slash was missed. Current behavior of Django, added the slash, but ALSO changed the request type to GET (by sending a 301/302 redirect instead of 307) which meant that the addition of slash silently changed the semantics of the API call. An error of some kind would have been better. 6 6 7 Hope this helps. 7 Hope this helps. BTW, I found the discussion here relevant: https://softwareengineering.stackexchange.com/questions/99894/why-doesnt-http-have-post-redirect