<p>Is there a way to tell Traefik not overwrite the response body when the response code is <code>&gt; 400</code>  ? </p>

<p>The goal is to keep the body of a 404 or a 401 response<br>
The goal is not have a custom error page but the real error page from the backend.</p>

<p>The environment is a Kubernetes Cluster where Traefik is the ingress provider, the storage used by traefik is consul.</p>

doctori
<p>This answer my question : <a href="https://github.com/containous/traefik/issues/4114" rel="nofollow noreferrer">https://github.com/containous/traefik/issues/4114</a><br />
this is not possible since the net/http golang lib is implementing the <a href="https://www.rfc-editor.org/rfc/rfc7230#section-3.1.2" rel="nofollow noreferrer">RFC 7230  sec. 3.1.2.</a>  hardly,<br />
and does not plan to change it.</p>
