0.0.3 • Published 12 years ago
connect-acceptoverride v0.0.3
Will change the request's Accept header to application/json if the
URL ends with .json, or to application/xml if the URL ends with .xml.
Install
npm install connect-acceptoverrideUsage
var acceptOverride = require('connect-acceptoverride');
app.use(acceptOverride());