You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "David Yan (JIRA)" <ji...@apache.org> on 2016/02/19 19:36:18 UTC
[jira] [Created] (APEXCORE-350) STRAM's REST service sometimes
returns duplicate and conflicting Content-Type headers
David Yan created APEXCORE-350:
----------------------------------
Summary: STRAM's REST service sometimes returns duplicate and conflicting Content-Type headers
Key: APEXCORE-350
URL: https://issues.apache.org/jira/browse/APEXCORE-350
Project: Apache Apex Core
Issue Type: Bug
Reporter: David Yan
Assignee: David Yan
{code}
$ curl -D - http://hostname:38184/ws/v2/stram/logicalPlan/operators/join/attributes
HTTP/1.1 200 OK
Cache-Control: no-cache
Expires: Fri, 19 Feb 2016 18:02:17 GMT
Date: Fri, 19 Feb 2016 18:02:17 GMT
Pragma: no-cache
Expires: Fri, 19 Feb 2016 18:02:17 GMT
Date: Fri, 19 Feb 2016 18:02:17 GMT
Pragma: no-cache
Content-Type: text/plain; charset=utf-8
Content-Type: application/json
Transfer-Encoding: chunked
Server: Jetty(6.1.26.cloudera.4)
{}
{code}
This may confuse the web client on which content-type should be used.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)