Skip to content

Commit

Permalink
[ issue # 52] : Data import Issue, mistaken JSON content type
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Gazzarini committed Apr 7, 2015
1 parent a996302 commit 13be933
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public void load(

final String contentType = stream.getContentType() != null
&& !"application/xml".equals(stream.getContentType())
&& !"application/xml".equals(stream.getContentType())
&& !"application/json".equals(stream.getContentType())
? stream.getContentType()
: request.getParams().get(UpdateParams.ASSUME_CONTENT_TYPE);

Expand Down

0 comments on commit 13be933

Please sign in to comment.