Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_uwsgi_module.c @ 5738:c95d7882dfc9
Upstream: cache revalidation using If-None-Match.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 26 Jun 2014 02:35:01 +0400 |
parents | 3cb79707516a |
children | f3df4e420ae7 |
comparison
equal
deleted
inserted
replaced
5737:44b9ab7752e3 | 5738:c95d7882dfc9 |
---|---|
505 | 505 |
506 static ngx_keyval_t ngx_http_uwsgi_cache_headers[] = { | 506 static ngx_keyval_t ngx_http_uwsgi_cache_headers[] = { |
507 { ngx_string("HTTP_IF_MODIFIED_SINCE"), | 507 { ngx_string("HTTP_IF_MODIFIED_SINCE"), |
508 ngx_string("$upstream_cache_last_modified") }, | 508 ngx_string("$upstream_cache_last_modified") }, |
509 { ngx_string("HTTP_IF_UNMODIFIED_SINCE"), ngx_string("") }, | 509 { ngx_string("HTTP_IF_UNMODIFIED_SINCE"), ngx_string("") }, |
510 { ngx_string("HTTP_IF_NONE_MATCH"), ngx_string("") }, | 510 { ngx_string("HTTP_IF_NONE_MATCH"), ngx_string("$upstream_cache_etag") }, |
511 { ngx_string("HTTP_IF_MATCH"), ngx_string("") }, | 511 { ngx_string("HTTP_IF_MATCH"), ngx_string("") }, |
512 { ngx_string("HTTP_RANGE"), ngx_string("") }, | 512 { ngx_string("HTTP_RANGE"), ngx_string("") }, |
513 { ngx_string("HTTP_IF_RANGE"), ngx_string("") }, | 513 { ngx_string("HTTP_IF_RANGE"), ngx_string("") }, |
514 { ngx_null_string, ngx_null_string } | 514 { ngx_null_string, ngx_null_string } |
515 }; | 515 }; |