Groups
Groups
Sign in
Groups
Groups
glashammer
Conversations
About
Send feedback
Help
Content types in responses
1 view
Skip to first unread message
akira
unread,
May 6, 2009, 3:07:35 AM
5/6/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to glashammer
Can one change the content type headers when sending back a response?
If yes, how?
Thanks
Ali Afshar
unread,
May 6, 2009, 4:19:47 AM
5/6/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to glash...@googlegroups.com
akira wrote:
> Can one change the content type headers when sending back a response?
> If yes, how?
>
>
Yes, you can pass mimetype= into render_response, or into the Response
constructor. The default is mimetype='text/html'.
Ali
Voltron
unread,
May 6, 2009, 1:25:31 PM
5/6/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to glashammer
Thanks
Reply all
Reply to author
Forward
0 new messages