Skip to content

Commit be7258e

Browse files
faustbrianspkjp
authored andcommitted
fix: send only application/json as content-type (#16)
* fix: send only application/json as content-type * chore: 0.1.1 changelog
1 parent f2a3423 commit be7258e

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## Unreleased
99

10+
## 0.1.1 - 2018-11-23
11+
12+
### Changed:
13+
- Always send the `Content-Type` header
14+
1015
## 0.1.0 - 2018-10-08
1116
- Initial Release

src/main/java/org/arkecosystem/client/http/Client.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class Client {
1212
private String host;
1313
private int version;
1414
private OkHttpClient client;
15-
private MediaType JSON = MediaType.parse("application/json charset=utf-8");
15+
private MediaType JSON = MediaType.parse("application/json");
1616

1717
public Client(String host, int version) {
1818
this.host = host;

0 commit comments

Comments
 (0)