mirror of https://github.com/asciimoo/wuzz
Use mime.ParseMediaType to parse Content-Type header
In addition, detection of JSON bodies has been expanded to include both "application/json" as well as any Content-Type ending in "+json". This should catch all JSON media types as registered in the IANA Media Type registry located here: http://www.iana.org/assignments/media-types/media-types.xhtmlpull/71/head
parent
15bccf5632
commit
c80a740d57
Loading…
Reference in New Issue