is(req, 'xml')
should be true when content-type is text/xml
#24
Labels
is(req, 'xml')
should be true when content-type is text/xml
#24
When I use koa and its
this.is('xml')
, it makes me confused:I think
application/xml
andtext/xml
are both validxml
type.The text was updated successfully, but these errors were encountered: