This repository has been archived by the owner on Feb 24, 2024. It is now read-only.
Auto render does not obey http headers correctly #948
Labels
enhancement
New feature or request
Milestone
It appears as though the auto render function looks at the content type header over the accept header to determine what to return to the client.
As far as I know content type gives an indication to the receiver what is in the request and accept tells the receiver what the client expects to receive back.
So a client posting json to the server would have that as the content type and an accept header set to html so it gets an html document back.
Or could set the both the same to post json and get json back.
The text was updated successfully, but these errors were encountered: