Skip to content

Commit

Permalink
added travis build status
Browse files Browse the repository at this point in the history
  • Loading branch information
gillesdemey committed Jul 25, 2016
1 parent 134d637 commit 32e47e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# connect-requires-json

[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)
[![Build Status](https://travis-ci.org/gillesdemey/connect-require-json.svg?branch=master)](https://travis-ci.org/gillesdemey/connect-require-json)
[![Coverage Status](https://coveralls.io/repos/github/gillesdemey/connect-require-json/badge.svg?branch=master)](https://coveralls.io/github/gillesdemey/connect-require-json?branch=master)

This middleware will validate incoming request bodies, throwing a `400` when the body is empty and `415` when the `Content-Type` header does not contain `json`.

0 comments on commit 32e47e4

Please sign in to comment.