Roundup Tracker - Issues


Author rouilj
Recipients rouilj
Date 2023-08-02.21:58:25
Message-id <>
Sending a POST, PUT (maybe PATCH) with an accept header that is not
application/json or xml (if enabled) will complete the request before throwing
a 406 error.

This is incorrect. The Accept header should be validated first and a 406 returned
before any change/work is done.

Note that the property binary_content should allow a value other than json and xml.
In this case, the Accept value must match the mime type of the file content (as reported in 
the file metadata at data/file/N data.attributes.type). The response will be the raw binary
file with the Content-Type set to the mime type and the content-length the length of the
binary content.

This also applies to a GET, but a GET is read only so less of an issue.

This is a prereq for issue 2551068.
Date User Action Args
2023-08-02 21:58:25rouiljsetrecipients: + rouilj
2023-08-02 21:58:25rouiljsetmessageid: <>
2023-08-02 21:58:25rouiljlinkissue2551289 messages
2023-08-02 21:58:25rouiljcreate