X-Accel-Redirect not passing Content-Type?

Kon Wilms konfoo at gmail.com
Wed Apr 8 02:44:31 MSD 2009


On Tue, Apr 7, 2009 at 3:34 PM, michael <nginx-forum at nginx.us> wrote:
> Are you setting Content-Type before X-Accel or after? I was just testing X-Accel and ran into the same issue. Turns out I applied Content-Type prior to X-Accel and it worked.

Before, but the result is the same (text/html).

> Per the documentation (or a mailing list post somewhere) X-Accel *inherits* Content-Type, so I'd imagine if the server received an X-Accl before Content-Type, the Content-Type would've been "determined" already...

Correct, and if anything is echoed to the browser it is also
immutable. I've checked for both of these.

Cheers
Kon





More information about the nginx mailing list