These are chat archives for cherrypy/cherrypy

16th
Aug 2017
Dan Vinakovsky
@hexaclock
Aug 16 2017 00:20
... and sometimes the solution is a lot simpler than first expected
Dan Vinakovsky
@hexaclock
Aug 16 2017 00:40
i commend you guys on your extensive tests :) i thought the fix wouldn't take so many iterations, so i only got tox running towards the end. sorry for the excessive # of commits & builds
Sviatoslav Sydorenko
@webknjaz
Aug 16 2017 07:34
@hexaclock no worries, I'll try checking your solution, but please explain why do you think it's correct
Dan Vinakovsky
@hexaclock
Aug 16 2017 10:54
sure.
it forces the CachingTool to now run after the encoding tool
Dan Vinakovsky
@hexaclock
Aug 16 2017 11:00
in turn, this ensures the tee_output attached at before_finalize runs after the content is already gzipped as per _d.gzip = Tool('before_finalize', encoding.gzip, priority=80)
matrixbot
@matrixbot
Aug 16 2017 11:13
@ha:matrix.org heyho! i am struggling with "Absolute URI not allowed if server is not a proxy." cherrypy is running as normal user on port 8080 and i set nginx to ... ah, i love rubberduck debugging
@ha:matrix.org i had this in my nginx config: location /test/ { proxy_pass http://localhost:8080/; }
@ha:matrix.org err, sorry. i had it without the trailing slash in the location. the trailing slash fixed it
@ha:matrix.org not sure why but yay
Dan Vinakovsky
@hexaclock
Aug 16 2017 21:54
@webknjaz not sure if you saw my explanation. I'll copy it to the GitHub issue