Skip to content

Commit

Permalink
Changed content type in case of csv. #7376
Browse files Browse the repository at this point in the history
  • Loading branch information
wolf4ood committed May 2, 2017
1 parent 53985d7 commit 43f0f65
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ public void writeRecords(final Object iRecords, final String iFetchPlan, String
final Iterator<Object> it = OMultiValue.getMultiValueIterator(iRecords);

if (accept != null && accept.contains("text/csv")) {
sendStream(OHttpUtils.STATUS_OK_CODE, "OK", OHttpUtils.CONTENT_JSON, "data.csv", new OCallable<Void, OChunkedResponse>() {
sendStream(OHttpUtils.STATUS_OK_CODE, "OK", OHttpUtils.CONTENT_CSV, "data.csv", new OCallable<Void, OChunkedResponse>() {

@Override
public Void call(final OChunkedResponse iArgument) {
Expand Down

0 comments on commit 43f0f65

Please sign in to comment.