Welcome! Log In Create A New Profile

Advanced

Re: X-Accel-Redirect not passing Content-Type?

Kon Wilms
April 07, 2009 09:18PM
On Tue, Apr 7, 2009 at 5:14 PM, Michael Shadle <mike503@gmail.com> wrote:
> and if you want to FORCE the header
>
> use
>
> header('Content-Type: foo/bar', true);
>
> the true will make sure it overrides
>
> On Tue, Apr 7, 2009 at 4:59 PM, Maxim Dounin <mdounin@mdounin.ru> wrote:
>>> Is x-accel ignoring the Content-Type?
>>
>> No, it doesn't. X-Accel-Redirect preserves Content-Type header
>> from original reply (the one which returned X-Accel-Redirect).
>>
>> Check your php script actual reply to make sure it's actually
>> returns Content-Type header (actually as header, and no other
>> headers with same name).

Thanks guys I will give it a shot :)

Cheers
Kon
Subject Author Posted

X-Accel-Redirect not passing Content-Type?

Kon Wilms April 07, 2009 05:51PM

Re: X-Accel-Redirect not passing Content-Type?

michael April 07, 2009 06:34PM

Re: X-Accel-Redirect not passing Content-Type?

Kon Wilms April 07, 2009 06:44PM

Re: X-Accel-Redirect not passing Content-Type?

Maxim Dounin April 07, 2009 07:59PM

Re: X-Accel-Redirect not passing Content-Type?

mike April 07, 2009 08:14PM

Re: X-Accel-Redirect not passing Content-Type?

Kon Wilms April 07, 2009 09:18PM

Re: X-Accel-Redirect not passing Content-Type?

Xia Qingran April 15, 2009 05:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 60
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready