ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Last-modified фича?


  • To: nginx-ru@xxxxxxxxx
  • Subject: Last-modified фича?
  • From: "Alexandr Mikhal'kov" <mikhalkov@xxxxxxxxxx>
  • Date: Thu, 27 Sep 2007 15:59:07 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=niDYSwwJODj83vv/0s7cyLNACosCyyf2TlEAQKi1bZ0=; b=Tv9dEbF6oA76aPUoENnQ2RQnnDhYRs+BrgcCv3G21srXZyaZ2IGfLQYCofP2xul0JPoWUaowB8/5Gpc4ilDfLN1gjhEeTsGUITSJ+nmV+eH0jfZjSEZx581RxO5U8Ap7imrKTNGsgqziJGOJQdhLckZ7KYnFeLshtRvQmJkB2pk=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=PgcZW4DXUVIyLnRMEtIlzKI3TaUYhdBey0a4SshL+1MQgOxv7Rq+gravIWPvAOaKqyMA6ZIm+RIQQB2U2EijKNzomsSIaSL2LHHoLf738CmPTS2dExQz9Bi72Rw12jFznSTo1FQD8hyb5zlcMuY4TwB5j3Cm2775iHS1rkIOd8M=

Есть скрипт, выставляющий заголовок last-modified и его копию в last-modified2

При объявлении сontent-type: text/html nginx почему-то вырезает
заголовок last-modified.
При любом другом сontent-type заголовок нормально проходит.
Это фича?

UPD: происходит только с не пустым ответом.


HTTP/1.1 200 OK
Server: nginx/0.5.31
Date: Thu, 27 Sep 2007 11:51:39 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Keep-Alive: timeout=20
last-modified2: Thu, 27 Sep 2007 10:53:06 GMT
Expires: Thu, 27 Sep 2007 11:51:38 GMT
Cache-Control: no-cache
Cache-Control: private, no-store, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache

HTTP/1.1 200 OK
Server: nginx/0.5.31
Date: Thu, 27 Sep 2007 11:49:54 GMT
Content-Type: text/xml; charset=UTF-8
Connection: keep-alive
Keep-Alive: timeout=20
last-modified: Thu, 27 Sep 2007 10:53:06 GMT
last-modified2: Thu, 27 Sep 2007 10:53:06 GMT
content-length: 3
Expires: Thu, 27 Sep 2007 11:49:53 GMT
Cache-Control: no-cache
Cache-Control: private, no-store, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache




-- 

Alexandr [ G100m ] Mikhal`kov
___________________________________________________________
PGP key: http://www.livejournal.com/pubkey.bml?user=g100m


 




Copyright © Lexa Software, 1996-2009.