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 uri to be specified as string #371

Merged
merged 1 commit into from Feb 9, 2017

Conversation

brharrington
Copy link
Contributor

Adds overrides for setting the request URI as a
String instead of a java.net.URI. There are
two main reasons:

  • The URI class is fairly strict on the format
    and will fail for many URIs that are common
    in practice. Using the string we can avoid
    that issue.
  • Some servers, e.g. akka, have their own URI
    model classes and this avoids needing to
    convert to string and reparse as a URI.

Adds overrides for setting the request URI as a
`String` instead of a `java.net.URI`. There are
two main reasons:

* The URI class is fairly strict on the format
  and will fail for many URIs that are common
  in practice. Using the string we can avoid
  that issue.
* Some servers, e.g. akka, have their own URI
  model classes and this avoids needing to
  convert to string and reparse as a URI.
@brharrington brharrington added this to the 0.51.0 milestone Feb 9, 2017
@brharrington brharrington merged commit a6bc4b1 into Netflix:master Feb 9, 2017
@brharrington brharrington deleted the access-log-uri branch February 9, 2017 04:16
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.

None yet

1 participant