shazaman23 / webapp-improved

Automatically exported from code.google.com/p/webapp-improved
Other
0 stars 0 forks source link

Custom dispatcher example clobbers response attribute settings #52

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Implement the custom_dispatcher example 
(http://webapp-improved.appspot.com/guide/handlers.html#guide-handlers-returned-
values)
2. In HelloHandler, set a response attribute (e.g. 
self.response.content_type="text/plain")

What is the expected output? What do you see instead?

Any response attributes set in the handler are ignored.

Original issue reported on code.google.com by mattyu...@gmail.com on 10 Mar 2012 at 8:35