ckrintz / appscale

Automatically exported from code.google.com/p/appscale
0 stars 0 forks source link

AppScale Does Not Support Chunk Encoded HTTP Requests #217

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Deploy a simple webapp that accepts HTTP POST requests and send a chunk encoded 
message:

POST http://localhost:8888/order HTTP/1.1
Content-Type: application/json
Accept: */*
Transfer-Encoding: chunked
Host: ec2-107-22-45-17.compute-1.amazonaws.com
Connection: Keep-Alive
User-Agent: Synapse-HttpComponents-NIO

37
{"drink":"Caramel Frapaccino","additions":"Whip Cream"}
0

AppScale sends back a 411 response:

HTTP/1.1 411 Length Required
Server: nginx/0.7.65
Date: Wed, 02 Jan 2013 20:48:19 GMT
Content-Type: text/html
Content-Length: 181
Connection: close

<html>
<head><title>411 Length Required</title></head>
<body bgcolor="white">
<center><h1>411 Length Required</h1></center>
<hr><center>nginx/0.7.65</center>
</body>
</html>

Chunk encoding is the default in HTTP/1.1 and must be supported out of the box.

Original issue reported on code.google.com by hiranya...@gmail.com on 2 Jan 2013 at 8:57

GoogleCodeExporter commented 9 years ago
Fixed with Nginx upgrade.

Original comment by R...@appscale.com on 18 Feb 2013 at 7:03