﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
170	nginx sending incorrect header	Michael Jephcote	somebody	"Hi,

I have nginx configured as a proxy to Apache and when requesting JSON data nginx seems to be sending an incorrect header corrupting the response. It works as expected when accessed through Apache without nginx.

The URL being requested: http://jira.vibesn.com/rest/gadget/1.0/favfilters?showCounts=true
The Response headers:

Date: Mon, 21 May 2012 11:08:55 GMT
Content-Encoding: , gzip
X-AREQUESTID: 728x7680x1
Server: nginx
Vary: Accept-Encoding, 
Content-Type: application/json;charset=UTF-8
Cache-Control: max-age=86400
X-AUSERNAME: anonymous
Expires: Tue, 22 May 2012 11:08:55 GMT
200 OK

Take a look at the Content-Encoding and Vary headers, they contain commas and undue spaces."	defect	closed	minor		nginx-core	1.3.x	invalid	apache json headers		Linux vibesn.com 2.6.18-274.7.1.el5	"nginx version: nginx/1.3.0
built by gcc 4.1.2 20080704 (Red Hat 4.1.2-52)"
