[mp2] porting tip - DefaultType text/html

2003-02-20 Thread Nick Tonkin
As the docs say $r-send_http_header is deprecated because it is unneeded in mp2 ... but $r-content_type must be set. DefaultType is set by default to text/plain in httpd.conf, so browsers that strictly apply content_type (eg Opera 7) were showing the content as HTML source. I had several

Re: [mp2] porting tip - DefaultType text/html

2003-02-20 Thread Stas Bekman
Nick Tonkin wrote: As the docs say $r-send_http_header is deprecated because it is unneeded in mp2 ... but $r-content_type must be set. Just a minor nit: $r-send_http_header is *not* deprecated, it's *gone*. Since yesterday for it's gone for real and is only available only in the back