jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds-labs-google] JCLOUDS-458:Added ObjectAccessControls with expect tests (#36)
Date Wed, 17 Sep 2014 18:56:01 GMT
> @@ -41,6 +41,10 @@ public void handleError(HttpCommand command, HttpResponse response)
{
>                : new HttpResponseException(command, response);
>        message = message != null ? message : String.format("%s -> %s", command.getCurrentRequest().getRequestLine(),
>                response.getStatusLine());
> +      
> +      String message411 = "MissingContentLength: You must provide the Content-Length
HTTP header.\n";
> +      String message412 = "PreconditionFailed: At least one of the pre-conditions you
specified did not hold.\n";

Curious why we need these...what does the API return? Also, if we really need these, make
them constants?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/36/files#r17685521
Mime
View raw message