Review request changed
- 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:
-
+ Unit tests pass.
+ + Tested with my Review Board change, which thoroughly tests all this functionality.
+ Also verified by hand.