Mercurial > hg > nginx
comparison src/http/ngx_http_request.h @ 5698:fcb0420f90de
Charset filter: fixed charset setting on encoded replies.
If response is gzipped we can't recode response, but in case it's not
needed we still can add charset to Content-Type.
The r->ignore_content_encoding is dropped accordingly, charset with gzip_static
now properly works without any special flags.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 19 May 2014 22:45:34 +0400 |
parents | 345e4fd4bb64 |
children | 777202558122 |
comparison
equal
deleted
inserted
replaced
5697:c985d90a8d1f | 5698:fcb0420f90de |
---|---|
509 unsigned keepalive:1; | 509 unsigned keepalive:1; |
510 unsigned lingering_close:1; | 510 unsigned lingering_close:1; |
511 unsigned discard_body:1; | 511 unsigned discard_body:1; |
512 unsigned internal:1; | 512 unsigned internal:1; |
513 unsigned error_page:1; | 513 unsigned error_page:1; |
514 unsigned ignore_content_encoding:1; | |
515 unsigned filter_finalize:1; | 514 unsigned filter_finalize:1; |
516 unsigned post_action:1; | 515 unsigned post_action:1; |
517 unsigned request_complete:1; | 516 unsigned request_complete:1; |
518 unsigned request_output:1; | 517 unsigned request_output:1; |
519 unsigned header_sent:1; | 518 unsigned header_sent:1; |