https://bugzilla.wikimedia.org/show_bug.cgi?id=71995

--- Comment #1 from Krinkle <[email protected]> ---
Externally:

$ curl --compress -I 'http://tools.wmflabs.org/intuition/index.php'
HTTP/1.1 200 OK
Server: nginx/1.5.0
Content-Type: text/html; charset=utf-8
X-Powered-By: PHP/5.3.10-1ubuntu3.14+wmf1
Content-Encoding: gzip
$ curl --compress -I 'http://tools.wmflabs.org/intuition/load.php?env=mw'
HTTP/1.1 200 OK
Server: nginx/1.5.0
Content-Type: text/javascript; charset=utf-8
X-Powered-By: PHP/5.3.10-1ubuntu3.14+wmf1

Hitting nginx directly from bastion:

$ curl --compress -I 'http://tools-webproxy.eqiad.wmflabs/intuition/index.php'
HTTP/1.1 200 OK
Server: nginx/1.5.0
Content-Type: text/html; charset=utf-8
X-Powered-By: PHP/5.3.10-1ubuntu3.14+wmf1
Content-Encoding: gzip
$ curl --compress -I
'http://tools-webproxy.eqiad.wmflabs/intuition/load.php?env=mw'
HTTP/1.1 200 OK
Server: nginx/1.5.0
Content-Type: text/javascript; charset=utf-8
X-Powered-By: PHP/5.3.10-1ubuntu3.14+wmf1

Hitting the lighty server directly from tools-login:

$ curl --compress -I 'http://tools-webgrid-01:4134/intuition/main.js'
HTTP/1.1 200 OK
Content-Type: application/javascript
ETag: "1806578031"
Last-Modified: Thu, 05 Jun 2014 23:22:11 GMT
Content-Length: 477
Server: lighttpd/1.4.28
$ curl --compress -I 'http://tools-webgrid-01:4134/intuition/index.php'
HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.10-1ubuntu3.14+wmf1
Content-Type: text/html; charset=utf-8
Server: lighttpd/1.4.28
$ curl --compress -I 'http://tools-webgrid-01:4134/intuition/load.php?env=mw'
HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.10-1ubuntu3.14+wmf1
content-type: text/javascript; charset=utf-8
Server: lighttpd/1.4.28

So gzip is added somewhere after lighttpd before, but before or in the proxy.
And it's happening for php, but only for html from php, not js from php?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to