jamesbursa / httplint

HTTP Lint
MIT License
11 stars 3 forks source link

False positive for bad Content-Type header #4

Open stuartm opened 9 years ago

stuartm commented 9 years ago

The following Content-Type header is incorrectly flagged as having incorrect format

Content-Type: application/xspf+xml; charset=utf-8

Error: The Content-Type header must be of the form 'type/subtype (;optional parameters)'.

The format is valid per https://tools.ietf.org/html/rfc7231#section-3.1.1.5