You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding a custom error backend which also provides responses for X-Format=json the nginx does not set the Content-Type header correclty (it's actually text/html).
I think the best case could be that nginx is passing all headers from the error backend to the client. So the error backend can set any Content-Type (and additional headers). (Currently nginx just ignores the headers)
The text was updated successfully, but these errors were encountered:
@aledbf I did also review the pull request #275 but could not find an evidence that this is now fixed. Can you guide me to the change which fixes this (I'm just curious 😃).
When adding a custom error backend which also provides responses for
X-Format=json
the nginx does not set theContent-Type
header correclty (it's actuallytext/html
).I think the best case could be that nginx is passing all headers from the error backend to the client. So the error backend can set any
Content-Type
(and additional headers). (Currently nginx just ignores the headers)The text was updated successfully, but these errors were encountered: