[ 源代码: node-accepts ]
软件包:node-accepts(1.3.5-1)
higher-level content negotiation for Node.js
Higher level content negotiation based on negotiator.
In addition to negotatior, it allows:
- Allows types as an array or arguments list, ie `(['text/html', 'application/json'])` as well as `('text/html', 'application/json')`. - Allows type shorthands such as `json`. - Returns `false` when no types match - Treats non-existent headers as `*`
Node.js is an event-based server-side JavaScript engine.
其他与 node-accepts 有关的软件包
|
|
|
|
-
- dep: node-mime-types (>= 2.1.18)
- ultimate JavaScript content-type utility - Node.js module
-
- dep: node-negotiator (>= 0.6.1)
- HTTP content negotiator for Node.js
-
- dep: nodejs
- evented I/O for V8 javascript - runtime executable