Skip to content

Conversation

@dbu
Copy link
Contributor

@dbu dbu commented Nov 17, 2014

we discovered this in a rest api where a client was sending requests without accept headers. this is not good practice but allowed by the http spec. if the backend only has one type of answer, it usually works out.

we accidentally converted this into an existing Accept header with empty value, which by the HTTP spec means the client is not accepting any format. leading a spec-adherent backend with no other option than raising a 4xx error.

once this is merged, i will merge 1.0 branch into master

@ddeboer
Copy link
Member

ddeboer commented Nov 17, 2014

Would it be possible to release this as 1.1.1 only (instead of both 1.0.2 and 1.1.1)? I think that will make maintenance easier, and as we use Semver, users can upgrade to 1.1 from 1.0 without trouble.

@dbu
Copy link
Contributor Author

dbu commented Nov 17, 2014

i was pondering the same. i think we should do that, yes. otherwise it gets too complicated. a new minor release automatically obsoletes older minor releases.

@dbu
Copy link
Contributor Author

dbu commented Nov 17, 2014

see #134

@dbu dbu closed this Nov 17, 2014
@dbu dbu deleted the fix-accept-header branch November 17, 2014 18:41
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