Skip to content

Commit 6edcaae

Browse files
committed
use CONTENT_TYPE constant
1 parent f9c690b commit 6edcaae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AndroidAsync/src/com/koushikdutta/async/http/JSONObjectBody.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public void write(AsyncHttpRequest request, DataSink sink, final CompletedCallba
3838

3939
@Override
4040
public String getContentType() {
41-
return "application/json";
41+
return CONTENT_TYPE;
4242
}
4343

4444
@Override

0 commit comments

Comments
 (0)