We use App Engine standard with Java 8. We have a client that sends HTTP 
POST (post body as JSON) requests as gzip-compressed. In normal cases, 
everything works just fine. The frontend will uncompress the requests and 
the App Engine will see the uncompressed request.

But with some requests (large ones?) uncompressing is not done by the 
frontend. This is seen as the request header *content-encoding=[gzip] *is 
still in the request headers and content is binary when the request arrives 
in App Engine. Our application is not prepared to uncompress the request 
but relies on the frontend to uncompress it. We couldn't find much 
information about the rules of uncompressing requests. The page 
https://cloud.google.com/appengine/docs/standard/java/how-requests-are-handled#request_limits
 
says only that the request limit is 32 megabytes. Our failing requests are 
far below that limit in both compressed and uncompressed.

   - Is there a way to find out why some requests are not uncompressed?
   - If it is the size of the request, can the limit be 
   configured/increased?
   - Is the best practice that the application must handle compressed 
   requests also even frontend is taking care of the majority of the 
   compressed requests?
   - Is there documentation somewhere telling more about compressed request 
   limits/handling in App Engine standard? 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/4cfbce8b-4a74-4f96-b940-ab908f1ca028n%40googlegroups.com.
  • [google-appengine] App Engi... 'Samu Lahti' via Google App Engine

Reply via email to