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

Remove pkg/httpx dependency #973

Closed
wants to merge 2 commits into from
Closed

Remove pkg/httpx dependency #973

wants to merge 2 commits into from

Conversation

ejholmes
Copy link
Contributor

@ejholmes ejholmes commented Aug 16, 2016

Tests may fail right now, which is because of an unrelated change and fixed in #972

Depends on #971

This removes the pkg/httpx dependency, and moves all internal packages to use context from the stdlib, rather than from golang.org/x/net/context, and updates all http handlers to implement http.Handler rather than httpx.Handler.

First commit is just changes to ./vendor (remove pkg/httpx and update gorilla/mux to support Go 1.7 context).

Second commit is the actual changes.

@ejholmes ejholmes changed the base branch from go1.7 to master August 26, 2016 23:02
Copy link
Contributor

@mwildehahn mwildehahn left a comment

Choose a reason for hiding this comment

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

👍

}

return nil
// ServeHTTPContext implements the http.Handler interface.
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: comment doesn't match

@ejholmes
Copy link
Contributor Author

Gonna close this one for now. I'll move this over incrementally later.

@ejholmes ejholmes closed this Oct 15, 2016
@ejholmes ejholmes deleted the remove-httpx branch March 1, 2017 04:42
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