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 we...@googlegroups.com
Hi Whats the best way for creating fast non static images request/response? Using GET(self): return open('image').read()
uses IO is it better to read and store all the images in a dict and what is the best buffer to store the images with? images = {} images[image] = open('image').read()
GET(self,image): return images[image]
Andrey Kuzmin
unread,
Jul 13, 2012, 9:10:47 AM7/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 we...@googlegroups.com
Its better to serve them through web server, it is possible to do it with either nginx or apache, your webpy should return special header so web server knows which file to send.