How can I fetch() more than 1MB on Google App Engine?

后端 未结 2 1715
夕颜
夕颜 2021-01-19 13:06

Google App Engine limits urlfetch.fetch() responses to 1MB. Is there any workaround of this (switching to paid version maybe)?

I\'m using Python and if

2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-19 13:52

    With the brand new SDK 1.4.0 you can download 32MByte; keep in mind that you still have the 10 seconds Deadline limit though ;-) . deadline can be up to a maximum of 60 seconds for request handlers and 10 minutes for tasks queue and cron job handlers.

    URLFetch allowed response size has been increased, up to 32 MB. Request size is still limited to 1 MB.

提交回复
热议问题