Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 14 lines (9 sloc) 0.309 kB
cbbfec5 @olalonde Initial commit
authored
1 Will change the request's `Accept` header to `application/json` if the
8ede1cf - Forgot to put the ` character around .xml in the README.md
James Yuen authored
2 URL ends with `.json`, or to `application/xml` if the URL ends with `.xml`.
cbbfec5 @olalonde Initial commit
authored
3
4 # Install
5
07ceb61 @olalonde lowercase
authored
6 npm install connect-acceptoverride
cbbfec5 @olalonde Initial commit
authored
7
8 # Usage
9
10 ```javascript
1e28dea @olalonde lower case
authored
11 var acceptOverride = require('connect-acceptoverride');
605bd4a @olalonde return function
authored
12 app.use(acceptOverride());
cbbfec5 @olalonde Initial commit
authored
13 ```
Something went wrong with that request. Please try again.