Some API Responses use wrong Content-Type #2881
Labels
bug
something isn't working as intended
low impact
affects only a small portion of a CDN, and cannot itself break one
Traffic Ops
related to Traffic Ops
The only concrete example with which I can come up is
/api/1.3/servers/<hostname>/configfiles/ats
, which responds withContent-Type: text/plain;charset=UTF-8
, which is the correct character encoding, but the data is a JSON object so this header should beContent-Type: application/json;charset=UTF-8
. However, I seriously doubt that out of all of TO's hundreds of API endpoints, this is the only one to suffer from this header issue.The text was updated successfully, but these errors were encountered: