Strange characters added by nginx?

Rafał Zawadzki rafal.zawadzki at sensisoft.com
Tue Nov 4 16:06:05 MSK 2008


When i am trying to run my application via fastcig nginx adds some
strange character, which are rendered by browser and destroy layout ;)

Anyway - two examples of the same response, one is done via nginx, the
second one by plain python (django).

Any idea?

root at sensias1 [~]# nginx -v
nginx version: nginx/0.6.32
root at sensias1 [~]#



Version with nginx:

HTTP/1.1 200 OK
Server: nginx/0.6.32
Date: Tue, 04 Nov 2008 13:00:41 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: close
Vary: Accept-Language, Cookie
Content-Language: londonlist
Cache-control: no-cache, must-revalidate, max-age=3600
Set-Cookie: sessionid=20dedac7897a460f639f5eea64dc2246.1225803641.71; expires=Tue, 18-Nov-2008 13:00:41 GMT; Max-Age=1209600; Path=/;
Set-Cookie: clipboard="{'advert': [], 'query': []}"; Path=/;

1e78
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

Version without nginx (built in web server):

HTTP/1.0 200 OK
Date: Tue Nov  4 13:03:58 2008
Server: WSGIServer/0.1 Python/2.4.3
Vary: Accept-Language, Cookie
Content-Type: text/html; charset=utf-8
Content-Language: londonlist
Cache-control: no-cache, must-revalidate, max-age=3600
Set-Cookie:  sessionid=f376e7490c64adbed81eb1ddea5d98d2.1225803838.25; expires=Tue, 18-Nov-2008 13:03:58 GMT; Max-Age=1209600; Path=/;
Set-Cookie:  clipboard="{'advert': [], 'query': []}"; Path=/;

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"



-- 
Pozdrowienia,
 Rafał Zawadzki






More information about the nginx mailing list