By the way, I fixed my app by setting:
response.headers['Content-type'] = "image/jpeg"
Michael

On 5 Mrz., 09:12, Michael Brickenstein <[email protected]> wrote:
> Hi!
> Any chance, that setting the content_type is broken:
>
>     @expose(content_type="image/jpeg")
>     def photoOriginal(self,id):
>
> When I upgraded to b7 (from I think b4) it broke.
> It sends "text/html" in the header.
> Unluckily, this was a little bit hidden, as browser can even then
> guess, that it's jpeg, when it occurs in an image tag.
>
> Michael
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to