Thomas Jackson created TS-4440:
----------------------------------

             Summary: 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
            Reporter: Thomas Jackson


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)

Reply via email to