Skip to content

Commit

Permalink
Merge pull request #10 from smoope/master
Browse files Browse the repository at this point in the history
fix accept header
  • Loading branch information
samwierema committed Nov 5, 2015
2 parents 076e281 + f477be8 commit 29e33d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public <P> HttpURLConnection getConnection(final String serviceUrl, final P post
connection = (HttpURLConnection) restService.openConnection();
}
connection.setDoInput(true);
connection.setRequestProperty("Accepts:", "application/json");
connection.setRequestProperty("Accept", "application/json");
connection.setUseCaches(false);
connection.setRequestProperty("charset", "utf-8");
connection.setRequestProperty("Connection", "close");
Expand Down

0 comments on commit 29e33d0

Please sign in to comment.