Welcome! Log In Create A New Profile

Advanced

Re: Invalid HTTP_IF_NONE_MATCH request header

Etienne Robillard
June 15, 2017 06:30PM
Hi Francis,

Le 2017-06-15 à 18:09, Francis Daly a écrit :
>
> What request do you make?
GET http://localhost/
>
> Which location{} is used to handle that request?
location /
> You appear to do something with HTTP_IF_NONE_MATCH in "location /"
> but not in "location /wiki".
The /wiki location is handled by a separate fastcgi script.
>> 1. Any suggestions why the value of HTTP_IF_NONE_MATCH is not
>> defined in nginx ?
> Why, specifically, do you think that it is not defined?
Firefox omits to add this request header because I suspect the ETag
header was missing from the initial request.
>> 2. Why is the python script working with wsgiref but not in nginx ?
> nginx doesn't "do" python. It does (in this case) fastcgi. Perhaps that
> is relevant to the question?
I always thought that a python script running under wsgiref is expected
to work in fastcgi
as-is, without the need to modify nginx configuration.
>
> Good luck with it,
>
> f

Best regards,

Etienne

--
Etienne Robillard
tkadm30@yandex.com
http://www.isotopesoftware.ca/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Invalid HTTP_IF_NONE_MATCH request header

Etienne Robillard June 15, 2017 01:48PM

Re: Invalid HTTP_IF_NONE_MATCH request header

Etienne Robillard June 15, 2017 05:46PM

Re: Invalid HTTP_IF_NONE_MATCH request header

Valentin V. Bartenev June 15, 2017 06:52PM

Re: Invalid HTTP_IF_NONE_MATCH request header

Francis Daly June 15, 2017 06:10PM

Re: Invalid HTTP_IF_NONE_MATCH request header

Etienne Robillard June 15, 2017 06:30PM

Re: Invalid HTTP_IF_NONE_MATCH request header

Francis Daly June 15, 2017 07:04PM

Re: Invalid HTTP_IF_NONE_MATCH request header

Etienne Robillard June 15, 2017 07:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 163
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