Giters
jshttp
/
type-is
Infer the content-type of a request.
Geek Repo:
Geek Repo
Github PK Tool:
Github PK Tool
Stargazers:
226
Watchers:
16
Issues:
34
Forks:
32
jshttp/type-is Issues
Should support both SPACE and HTAB as whitespace in Content-Type
Updated
3 months ago
Invalid result for some multipart/formdata requests
Closed
3 years ago
Comments count
2
ESM/browser support
Updated
4 years ago
Comments count
1
Content type with profile not matching as expected
Closed
4 years ago
Comments count
4
AdonisJS broke for the normalizeType change
Closed
5 years ago
Comments count
4
Extend support for media-typer 1.0.1
Closed
5 years ago
Comments count
7
TypeError: argument string is required - error when content type is missing
Closed
5 years ago
Comments count
3
Has body check returns `true` with `Content-Length: 0`
Closed
8 years ago
Comments count
4
Why return null when request body is null?
Closed
6 years ago
Comments count
2
Cannot deal with the content-type with semicolon
Closed
6 years ago
Comments count
1
+ suffix and wildcard
Closed
6 years ago
Comments count
1
remove content-length check
Closed
6 years ago
Comments count
3
Error thrown by media-typer when Content-Type header not set
Closed
6 years ago
Comments count
5
typeis and html
Closed
7 years ago
Comments count
2
node example.js fails on Error
Closed
7 years ago
Comments count
3
Support for media type version request
Updated
7 years ago
Comments count
9
Javascript as new special shortcut
Updated
7 years ago
Comments count
1
`is(req, 'xml')` should be true when content-type is `text/xml`
Updated
7 years ago
Comments count
1
Not correct verifying application/json
Closed
8 years ago
Comments count
9
Invalid for 'application/vnd.api+json
Closed
8 years ago
Comments count
5
hasbody is incorrectly false when Content-Length: 0
Closed
10 years ago
Comments count
5
Support for application/vnd.api+json
Closed
9 years ago
Comments count
4
type.indexOf is not a function
Closed
9 years ago
Comments count
3
It is not working at all
Closed
9 years ago
Comments count
2
Wildcard "*/*" should match empty content type
Closed
9 years ago
Comments count
3
Issue handling multiple types in one header
Closed
9 years ago
Comments count
7
bug with type-is
Closed
9 years ago
Comments count
7
failing to match application/json with application/json :(
Closed
9 years ago
Comments count
5
it should support a response as well. typeis(res, 'html')
Closed
10 years ago
Comments count
7
Obscure condition checks
Closed
10 years ago
Comments count
44
Support charset checking as well?
Closed
10 years ago
Comments count
10
Support RFC 6839 for matching
Closed
10 years ago
Comments count
4
allow non-array values
Closed
10 years ago
Comments count
1
Maintain consistent semicolon style.
Closed
10 years ago
Comments count
2