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

Make sure the default user agent is ASCII. #1786

Merged
merged 1 commit into from
Aug 3, 2015

Conversation

swankjesse
Copy link
Collaborator

See #891

RecordedRequest request = server.takeRequest();
assertEquals("a?b?c?d?e", request.getHeader("User-Agent"));
}

@Test public void userAgentDefaultsToJavaVersion() throws Exception {
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: test name is wrong

@swankjesse swankjesse force-pushed the jwilson_0803_default_user_agent branch from 06dbedc to 39c27ef Compare August 3, 2015 05:16
@JakeWharton
Copy link
Collaborator

LGTM

@JakeWharton
Copy link
Collaborator

Needs a rebase.

@swankjesse swankjesse force-pushed the jwilson_0803_default_user_agent branch from 39c27ef to 0e7524d Compare August 3, 2015 05:26
swankjesse added a commit that referenced this pull request Aug 3, 2015
Make sure the default user agent is ASCII.
@swankjesse swankjesse merged commit e19b791 into master Aug 3, 2015
@swankjesse swankjesse deleted the jwilson_0803_default_user_agent branch August 26, 2015 01:05
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