Issue 210: ec2 content length header was bad. corrected and also updated default appengine test app to allow more time to startup

This commit is contained in:
Adrian Cole 2010-04-04 19:48:02 -07:00
parent 6c26047e6a
commit 4ee4bb8764
3 changed files with 3 additions and 2 deletions

View File

@ -99,6 +99,7 @@ public class FormSigner implements HttpRequestFilter, RequestSigner {
"request is not ready to sign; host not present");
Multimap<String, String> decodedParams = RestAnnotationProcessor.parseQueryToMap(request
.getPayload().getRawContent().toString());
request.getHeaders().removeAll(HttpHeaders.CONTENT_LENGTH);
addSigningParams(decodedParams);
validateParams(decodedParams);
String stringToSign = createStringToSign(request, decodedParams);

View File

@ -38,7 +38,7 @@
extraction of appengine-java-sdk
-->
<appengine.home>YOUR_APPENGINE_HOME</appengine.home>
<appengine.applicationid>jclouds-s3-example</appengine.applicationid>
<appengine.applicationid>jclouds-aws-demo</appengine.applicationid>
<devappserver.address>localhost</devappserver.address>
<devappserver.port>8088</devappserver.port>
</properties>

View File

@ -54,7 +54,7 @@ public class GoogleDevServer {
});
server.start();
Thread.sleep(10 * 1000);
Thread.sleep(15 * 1000);
}
@SuppressWarnings("deprecation")