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
I am trying to customize an error document and I would like to change the content-type to text/plain, or remove the header completely. I don't mind modifying and recompiling it myself, but I feel like there must be some way to do this.
For example, with HAProxy, you can achieve similar behavior directly in the response bodies.
HTTP/1.1 403 go away
Content-Type: text/html
error msg
or like this for minimum response size
HTTP/1.1 403
error msg
Thanks!
The text was updated successfully, but these errors were encountered:
I am trying to customize an error document and I would like to change the content-type to text/plain, or remove the header completely. I don't mind modifying and recompiling it myself, but I feel like there must be some way to do this.
For example, with HAProxy, you can achieve similar behavior directly in the response bodies.
or like this for minimum response size
Thanks!
The text was updated successfully, but these errors were encountered: