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.
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…
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.