[
https://issues.apache.org/jira/browse/TS-4440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15316776#comment-15316776
]
ASF subversion and git services commented on TS-4440:
-----------------------------------------------------
Commit 56e9644cb9715fa9592f47514c054b197d30252b in trafficserver's branch
refs/heads/6.2.x from [~jacksontj]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=56e9644 ]
TS-4440: Switch stats page-not-found to 404 from 400
(cherry picked from commit f94ee5e84999dab47f8c00f672ae8f8094823a98)
> ATS' missing StatsPages have incorrect content-type
> ---------------------------------------------------
>
> Key: TS-4440
> URL: https://issues.apache.org/jira/browse/TS-4440
> Project: Traffic Server
> Issue Type: Bug
> Components: Manager
> Reporter: Thomas Jackson
> Assignee: Thomas Jackson
> Fix For: 6.2.0, 7.0.0
>
>
> If you curl a stats page that doesn't exist anymore:
> {code}
> jacksontj@Thomas-PC trafficserver]$ curl -v localhost:8080/_stats/
> * Trying ::1...
> * connect to ::1 port 8080 failed: Connection refused
> * Trying 127.0.0.1...
> * Connected to localhost (127.0.0.1) port 8080 (#0)
> > GET /_stats/ HTTP/1.1
> > Host: localhost:8080
> > User-Agent: curl/7.43.0
> > Accept: */*
> >
> < HTTP/1.1 400 Bad Request
> < Date: Fri, 13 May 2016 14:55:58 GMT
> < Connection: close
> < Server: ATS/7.0.0
> < Content-Length: 0
> < Content-Type: text/plai
> <
> * Closing connection 0
> {code}
> Note that the content-type is cut off.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)