Prevent Content-Type at Http-Status-Code 204 |
Hi there,
it is possible to prevent/remove the default Content-Type Header when using the HTTP\Response class? The Http-Status-Code 204 (no content) should send without a Content-Type Header. greetings david
Yeah, but after removing the Content-Type Header with removeHeader('Content-Type') the default Content-Type Header ('text/html') is set. Unfortunaly it is hardcoded within the HTTP/Response constructor.
|
Welcome Guest, Not a member yet? Register Sign In |