I'm building some WSGI middleware and have noticed some odd behavior with respect to return values from controller methods:
When a controller method returns a string, downstream middleware gets a response of <type 'list'> where the first (and only) item in the list is the string. BUT When a controller method returns an non-string, downstream middleware just gets the object itself, not inside a list. Does anybody know where the code responsible for this behavior lives? Thanks! ~br -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
