Permalink
Browse files

Fixed #1

Sets the content type to application/octet-stream for POST requests.
  • Loading branch information...
1 parent b505060 commit 84838569b5cac7160be77a273bb1892e6cc7859e @seize-the-dave seize-the-dave committed Mar 28, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main/java/org/jscep/transport/UrlConnectionPostTransport.java
@@ -53,6 +53,7 @@ public UrlConnectionPostTransport(final URL url) {
try {
conn = (HttpURLConnection) url.openConnection();
conn.setRequestMethod("POST");
+ conn.setRequestProperty("Content-Type", "application/octet-stream");
} catch (IOException e) {
throw new TransportException(e);
}

0 comments on commit 8483856

Please sign in to comment.