I'm serving some files from GCS through a GAE application (using flask), recently I hit the 32 MB limit. It should according to the documentation be possible to serve files from GCS that are larger than 32 MB, but I can't find the correct python3 apis.

> 
> [Response limits](https://cloud.google.com/appengine/docs/standard/go/how-requests-are-handled) 
>  Dynamic responses are limited to 32MB. If a script handler generates a response larger than this limit, the server sends back an empty response with a 500 Internal Server Error status code. This limitation does not apply to responses that serve data from the Blobstore or Cloud Storage.
> 
> 
> 

I've found the blobstore API which can serve files from GCS, but unfortunately that library is deprecated and not python3 compatible. This is what I think the code would have looked like in that approach

```
blobstore_filename = '/gs/{}/{}'.format(CLOUD_STORAGE_BUCKET, path)
blob_key = blobstore.create_gs_key(blobstore_filename)

response = Response("This should be overriden by App Enginge")
response.headers['Access-Control-Allow-Origin'] = '*'
response.headers['X-AppEngine-BlobKey'] = blob_key
return response

```

I think in PHP there is a specific API method that does exactly what I need
[CloudStorageTools#serve](https://cloud.google.com/appengine/docs/standard/php/refdocs/classes/google.appengine.api.cloud_storage.CloudStorageTools#serve)

I've seen some suggestions for similar problems to use [Signed URLs](https://cloud.google.com/storage/docs/access-control/signed-urls) but that seems more like a work-around rather than an actual solution to the problem.

I had expected to find a method to serve content from GCS, I don't know if my search skills are failing me or the method I need doesn't exist for the python3 environment.