Xia Qingran
April 15, 2009 05:12AM
On Wed, Apr 8, 2009 at 7:59 AM, Maxim Dounin <mdounin@mdounin.ru> wrote:
>
> 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).
>
> Maxim Dounin
>


Can nginx automaticly add Content-Type header when there is no
Content-Type in X-Accel-Redirect response?

If it could do, the backend CGI programs using X-Accel-Redirect will
feel better.


Regards,
--
夏清然
Xia Qingran
qingran.xia@gmail.com

Henny Youngman - "I told the doctor I broke my leg in two
places. He told me to quit going to those places." -
http://www.brainyquote.com/quotes/authors/h/henny_youngman.html
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: 147
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready