List Info

Thread: Re: custom tool with collapse_body




Re: custom tool with collapse_body
country flaguser name
United States
2007-09-18 12:15:07
d.rothe wrote:
> aah, the new version seems to collide with tool.gzip.
> Should I use the first version with all mime-types
> that are gzipped? If you see a solution that would
> work with (other body_collapsing tools?) let me know.

What do you mean by "collide"?


Robert Brewer
fumanchuaminus.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


  
Re: custom tool with collapse_body
country flaguser name
United States
2007-09-20 03:18:30
> What do you mean by "collide"?

If both tools gzip/traffic are enabled for a handler, I get
the
following error if the page is refreshed via F5.

Traceback (most recent call last):
  File
"C:developmentvlssoftwareserverenv/lib/pure/cherry
py
_cprequest.py", line 556, in respond
    self.hooks.run('before_finalize')
  File
"C:developmentvlssoftwareserverenv/lib/pure/cherry
py
_cprequest.py", line 90, in run
    hook()
  File
"C:developmentvlssoftwareserverenv/lib/pure/cherry
py
_cprequest.py", line 58, in __call__
    return self.callback(**self.kwargs)
  File
"C:developmentvlssoftwareserverenv/lib/pure/cherry
pylib
encoding.py", line 218, in gzip
    ct = response.headers.get('Content-Type').split(';')[0]
AttributeError: 'NoneType' object has no attribute 'split'

Normal navigation and refreshing via ctrl+F5 (firefox) seems
to work
fine.

It's not a showstopper, I will investigate what does happen
if I find
the time.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )