php - Remove Content-Type header in apache -


how remove header content-type in apache ?

the following code not work

header_remove('content-type');

try this.

header("content-type: none"); 

i don't know why, it's worked me.

i cannot find reference mentioned this. it's removed content-type header me. it' may apache's bug or php's bug. try , use careful.


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -