Re: [web2py] response.postprocessing

2010-01-29 Thread Thadeus Burgess
bah I need to take a break, my eyes play tricks on me. -Thadeus On Fri, Jan 29, 2010 at 3:35 PM, Thadeus Burgess wrote: > Why does this function get a dictionary, when this is the only > function in postprocessing > > def compress_response(xml): >    print xml # prints {'form': } >    cpat =

Re: [web2py] response.postprocessing

2010-01-29 Thread Thadeus Burgess
Why does this function get a dictionary, when this is the only function in postprocessing def compress_response(xml): print xml # prints {'form': } cpat = re.compile(r'[\n\t\r\f\v]|(?s)\s\s\s|(?s)|(?s)|(?s)') d = cpat.sub(save_pre, xml) return d response.postprocessing.append(com

Re: [web2py] response.postprocessing

2010-01-29 Thread Thadeus Burgess
Thanks. grep fail :) -Thadeus On Fri, Jan 29, 2010 at 3:22 PM, Jonathan Lundell wrote: > On Jan 29, 2010, at 1:16 PM, Thadeus Burgess wrote: > >> Maybe its just me and I need to look harder >> >> but I can't find where web2py calls this... at all > > run_controller_in() (in compileapp.py) >

Re: [web2py] response.postprocessing

2010-01-29 Thread Jonathan Lundell
On Jan 29, 2010, at 1:16 PM, Thadeus Burgess wrote: > Maybe its just me and I need to look harder > > but I can't find where web2py calls this... at all run_controller_in() (in compileapp.py) -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To

[web2py] response.postprocessing

2010-01-29 Thread Thadeus Burgess
Maybe its just me and I need to look harder but I can't find where web2py calls this... at all -Thadeus -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this grou