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 6fe392e commit 94cf82c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,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, OHttpUtils.STATUS_OK_DESCRIPTION, OHttpUtils.CONTENT_JSON, "data.csv",
sendStream(OHttpUtils.STATUS_OK_CODE, OHttpUtils.STATUS_OK_DESCRIPTION, OHttpUtils.CONTENT_CSV, "data.csv",
new OCallable<Void, OChunkedResponse>() {

@Override
Expand Down

0 comments on commit 94cf82c

Please sign in to comment.