Skip to content
This repository has been archived by the owner on Feb 25, 2018. It is now read-only.

Commit

Permalink
#4 Credit to Zahlii for previous commit's fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
richadams committed Jun 9, 2014
1 parent aac31fb commit b008625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radams/gracenote/webapi/GracenoteWebAPI.java
Expand Up @@ -144,7 +144,7 @@ protected String _httpPostRequest(String url, String data)
connection.setInstanceFollowRedirects(false);
connection.setRequestMethod("POST");
connection.setRequestProperty("Content-Type", "text/plain");
connection.setRequestProperty("charset", "utf-8");
connection.setRequestProperty("Charset", "utf-8");
connection.setRequestProperty("Content-Length", "" + Integer.toString(data.getBytes().length));
connection.setUseCaches (false);

Expand Down

0 comments on commit b008625

Please sign in to comment.