LA_
LA_

Reputation: 20409

How urlfetch quotas work?

The following quotas are given at GAE docs:

If my GAE app receives upload file, 1 megabyte quota is applied? If my GAE app sends (POST) the file to another server with urlfetch, still 1 megabyte is the the limit?

Upvotes: 0

Views: 837

Answers (1)

Chris Farmiloe
Chris Farmiloe

Reputation: 14175

Imcoming bandwidth quota: Each incoming HTTP request can be no larger than 32MB.

So an HTTP request from a browser directly to your application (suchas uploading a file) cannot exceed 32MB.

Urlfetch quota: request size 1 megabyte

So you can't POST a request larger than 1MB using urlfetch

If you need to have an outside service process large files from your app; Upload the files into the blobstore, and then post a link to the external service so that it can fetch the file. If you do not control the external service, and their api does not have a method for fetching files via URL, you might have to rethink and maybe send the file to the external service first rather that to your AE app.

Upvotes: 2

Related Questions