Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_static_handler.c @ 415:3c56e834be46
nginx-0.0.10-2004-09-05-23:54:02 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 05 Sep 2004 19:54:02 +0000 |
parents | ea3113b181d1 |
children | b9bd635011de |
comparison
equal
deleted
inserted
replaced
414:388a842cbbe1 | 415:3c56e834be46 |
---|---|
339 } | 339 } |
340 | 340 |
341 *last++ = '/'; | 341 *last++ = '/'; |
342 *last = '\0'; | 342 *last = '\0'; |
343 | 343 |
344 if (!(r->headers_out.location = | 344 if (!(r->headers_out.location = ngx_push_list(&r->headers_out.headers))) |
345 ngx_http_add_header(&r->headers_out, ngx_http_headers_out))) | |
346 { | 345 { |
347 return NGX_HTTP_INTERNAL_SERVER_ERROR; | 346 return NGX_HTTP_INTERNAL_SERVER_ERROR; |
348 } | 347 } |
349 | 348 |
350 r->headers_out.location->value = location; | 349 r->headers_out.location->value = location; |