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

Add HttpUrl methods to MWS and update non-HUC usages. #1715

Merged
merged 1 commit into from
Jun 21, 2015

Conversation

JakeWharton
Copy link
Collaborator

No description provided.

@@ -601,7 +600,7 @@ private void testClientPrematureDisconnect(TransferKind transferKind) throws IOE
server.enqueue(new MockResponse()
.setBody("B"));

URL url = server.getUrl("/?foo=bar");
HttpUrl url = server.url("/").newBuilder().addQueryParameter("foo", "bar").build();
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Note the change that had to be made here. The "path" parameter for this method is strictly path.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Dig.

swankjesse added a commit that referenced this pull request Jun 21, 2015
Add HttpUrl methods to MWS and update non-HUC usages.
@swankjesse swankjesse merged commit cd3a9c3 into master Jun 21, 2015
@JakeWharton JakeWharton deleted the jw/mws-http-url branch December 14, 2015 02:06
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