Skip to content

Commit

Permalink
Merge pull request #1 from cclien/master
Browse files Browse the repository at this point in the history
Add support for Apache storage backend
  • Loading branch information
teabot committed Feb 17, 2012
2 parents 523e133 + beea222 commit 93863fd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -92,7 +92,7 @@ public void close() throws IOException {
try {
String message = httpConnection.getResponseMessage();
int code = httpConnection.getResponseCode();
if (HttpURLConnection.HTTP_OK != code) {
if (HttpURLConnection.HTTP_OK != code && HttpURLConnection.HTTP_CREATED != code ) {
throw new IOException(code + " " + message);
} else {
log.debug("Status: HTTP {} - {}", code, message);
Expand Down

0 comments on commit 93863fd

Please sign in to comment.