Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Connect middleware that overrides accept headers based on the URL path extension or query string parameter
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
.gitignore
LICENSE.txt
README.md
package.json

README.md

Connect Request Type Override Middleware

A Node.js Connect framework middleware for overriding any request type with 'application/json' to allow for easier testing of the REST API calls.

Includes option for overriding default accept headers by specifying the extension of .json to the url, or passing query string parameter ?format=json which will both force serving the REST API JSON response data.

History

  • 0.1.0 - [2012-12-03] Initial release

License

This library is licensed under the MIT License

Something went wrong with that request. Please try again.