I have written some custom middleware that is handy when serving HTML
pages.  Lately Ive created a controller that returns a dynamically
generated JPEG (content-type: text/jpeg) and my custom middleware
doesn't make any sense in the context of serving JPEG's (and it in
fact chokes on it).  Is there a way to simply leap frog over a certain
piece of middleware for certain controllers or routes? - or - maybe it
would be better to return early from my custom middleware based upon
some kind of condition that identifies the requests that will return
JPEGs?

Any advice would be appreciated - Thanks

-- 
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.

Reply via email to