Last-modified фича?

Alexandr Mikhal'kov mikhalkov at clickon.ru
Thu Sep 27 15:59:07 MSD 2007


Есть скрипт, выставляющий заголовок 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


More information about the nginx-ru mailing list