[PATCH] HTTP Strip Content-Type by semicolon

Maxim Dounin mdounin at mdounin.ru
Tue Dec 22 13:31:41 UTC 2015


On Tue, Dec 22, 2015 at 02:24:18PM +0300, Maxim Muzafarov wrote:

> Of course, I mean "application/json; charset=UTF-8".  In working 
> copy this content-type needed to be declared separately, which 
> may be difficult, when content-type received from backend.

Charset parameter is expected to be handled separately, see 
src/http/ngx_http_upstream.c, ngx_http_upstream_copy_content_type().

Maxim Dounin

More information about the nginx-devel mailing list