benoitc / benoitc/dj-webmachine
There's no way to return data with other status codes.
Open
- Dominant language
- Python
- Stars
- 59
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
There's currently no way to return data along with a status 201 "Created" ( or any other status codes ) beyond manually writing encoders for each provided type and manually monkey patching the response content and headers (like content_type etc).
... which makes this framework useful for some API's but not for RESTful ones. Being able to return the created ID, for example, along with a 201 - Created is essential.
I've created a small patch which addresses this issue:
https://github.com/Go2Africa/dj-webmachine/commit/dc8b42686c48c914e52797b82711099da71d3eee
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.