Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@anubhavi25
Copy link
Contributor

…eader and added more unit tests

@anubhavi25
Copy link
Contributor Author

anubhavi25 commented Jul 28, 2017

In this PR:

  • Allow multiple and/or non-standard Accept headers like Accept: application/json, application/*+json
  • Bumped the major version of the service to let developers know that there are backward-incompatible changes in this release (i.e. validation of Accept headers that now throw an HTTP 406 Not Acceptable)
  • Additional unit tests for some of the more exotic Accept header values, along with a test to ascertain that we return a response as usual even when no Accept header is provided (conforms to RFC 2616)

@anubhavi25
Copy link
Contributor Author

Copy link

@FrankGasparovic FrankGasparovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@FrankGasparovic FrankGasparovic merged commit 52820e5 into develop Jul 28, 2017
@FrankGasparovic FrankGasparovic deleted the DE39720 branch July 28, 2017 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants