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

Allow testing of DoRequest against status code #145

Merged
merged 1 commit into from
Jun 13, 2019

Conversation

SimonRichardson
Copy link
Member

The following changes are required so we can test against the
status code along with the error of a http request.

Changing this allows us to work with go-1.12 where the changes to
the http(s) server when calling https using http now returns a 400
status code instead of malformed garbage.

See: https://go-review.googlesource.com/c/go/+/98447/

Copy link
Contributor

@achilleasa achilleasa left a comment

Choose a reason for hiding this comment

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

LGTM

The following changes are required so we can test against the
status code along with the error of a http request.

Changing this allows us to work with go-1.12 where the changes to
the http(s) server when calling https using http now returns a 400
status code instead of malformed garbage.

See: https://go-review.googlesource.com/c/go/+/98447/
@SimonRichardson
Copy link
Member Author

$$merge$$

@SimonRichardson
Copy link
Member Author

@jujubot jujubot merged commit e811894 into juju:master Jun 13, 2019
@SimonRichardson SimonRichardson deleted the status-code branch June 13, 2019 12:54
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.

3 participants