Can nginx calculate the content-length header for fastcgi proxied requests

i’m not sure whether this question even makes sense. i don’t know
whether nginx is buffering responses that it receives from proxying
requests to a fastcgi process or its streaming that back to the
client.

but i would like to be able to have nginx calculate the content-length
header for requests that are fastcgi_pass-ed. couldn’t find anything
online or in the documentation relating to this.

thanks!
amb

On Wed, Oct 26, 2011 at 12:09 AM, Andrew B.
[email protected] wrote:

i’m not sure whether this question even makes sense. i don’t know
whether nginx is buffering responses that it receives from proxying
requests to a fastcgi process or its streaming that back to the
client.

but i would like to be able to have nginx calculate the content-length
header for requests that are fastcgi_pass-ed. couldn’t find anything
online or in the documentation relating to this.

Well, there is nothing to find. Nginx cannot do this.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs