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 golang...@googlegroups.com
Hi,
Is there a way to respond to a GET with offering a download of binary data?
E.g. get /mydata/data.blob returns "data.blob" as a binary stream to the client ( where we set the content type as well).
--Maarten
matryer
unread,
Sep 13, 2012, 5:40:38 AM9/13/12
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 golang...@googlegroups.com
Goweb gets out of your way. Once you've mapped the URL successfully to the func that will handle it, you can directly use Context.Request and Context.ResponseWriter to do whatever you like.