Change Summary:
* Switched to returning error codes instead of WebAPIResponseErrors where possible, so that we can do the automatic mimetype stuff. * Fixed mimetype handling with our provided pagination and error responses. * Added a build_response_args() function that a resource must use when populating arguments for a custom WebAPIResponse result. Long-term, we should move away from returning WebAPIResponses outside of the core WebAPIResource code.
Testing Done: |
|
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+198 -42) |