Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark bad Content-Length tests as pending for Go 1.2 #70

Merged
merged 1 commit into from
May 16, 2014

Conversation

KushalP
Copy link
Contributor

@KushalP KushalP commented May 16, 2014

This was a regression found when compiling and testing the router
under go 1.2 compared to 1.1.2 (currently built against version).
Since go 1.2 the behaviour for how bad Content-Length headers are
handled has changed from providing a (private) error value that we
could match against through to directly returning an
io.ErrUnexpectedEOF error.

Marking these tests as pending as they may eventually start working again
and somebody should look at it again when that happens.

This was a regression found when compiling and testing the router
under go 1.2 compared to 1.1.2 (currently built against version).
Since go 1.2 the behaviour for how bad Content-Length headers are
handled has changed from providing a (private) error value that we
could match against through to directly returning an
`io.ErrUnexpectedEOF` error.

Marking these tests as pending as they may eventually start working again
and somebody should look at it again when that happens.
alext added a commit that referenced this pull request May 16, 2014
…ent-length-in-go-1.2

Mark bad Content-Length tests as pending for Go 1.2
@alext alext merged commit dee44f2 into master May 16, 2014
@alext alext deleted the return-500-response-for-bad-content-length-in-go-1.2 branch May 16, 2014 11:24
govuk-ci pushed a commit that referenced this pull request Oct 9, 2017
Add deploy script for content-api
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.

2 participants