Thanks for the help Bruno.
But after setting -
response.headers['Connection'] =  'keep-alive'

the header now shows:
Connection: keep-alive, close

I am running web2py with wsgi and apache.

thanks,
-rajesh

On Friday, March 2, 2012 1:50:39 PM UTC-8, rochacbruno wrote:
>
>
>
> On Fri, Mar 2, 2012 at 2:43 PM, Rajesh <[email protected]> wrote:
>
>> Connection: close
>>
>
> I guess that is the problem.
>
> response.headers['Connection'] =  'keep-alive'
>
>
> -- 
>
> Bruno Rocha
> [http://rochacbruno.com.br]
>
>
On Friday, March 2, 2012 1:50:39 PM UTC-8, rochacbruno wrote:
>
>
>
> On Fri, Mar 2, 2012 at 2:43 PM, Rajesh <[email protected]> wrote:
>
>> Connection: close
>>
>
> I guess that is the problem.
>
> response.headers['Connection'] =  'keep-alive'
>
>
> -- 
>
> Bruno Rocha
> [http://rochacbruno.com.br]
>
>
On Friday, March 2, 2012 1:50:39 PM UTC-8, rochacbruno wrote:
>
>
>
> On Fri, Mar 2, 2012 at 2:43 PM, Rajesh <[email protected]> wrote:
>
>> Connection: close
>>
>
> I guess that is the problem.
>
> response.headers['Connection'] =  'keep-alive'
>
>
> -- 
>
> Bruno Rocha
> [http://rochacbruno.com.br]
>
>
On Friday, March 2, 2012 1:50:39 PM UTC-8, rochacbruno wrote:
>
>
>
> On Fri, Mar 2, 2012 at 2:43 PM, Rajesh <[email protected]> wrote:
>
>> Connection: close
>>
>
> I guess that is the problem.
>
> response.headers['Connection'] =  'keep-alive'
>
>
> -- 
>
> Bruno Rocha
> [http://rochacbruno.com.br]
>
>

Reply via email to