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

Support templating params as 'host' of Uri #54

Merged
merged 1 commit into from
Oct 18, 2015

Conversation

MichaelEvans
Copy link
Contributor

DLD seems to assume that all templating happens on "path parameters", and never on the "host" parameter. (i.e. airbnb://foo/{bar} is valid, but airbnb://{bar} is not.)

If the host field is encoded as well (another tweak that has to be added to HttpUrl), and also examined for path parameters - then this works as expected.

felipecsl added a commit that referenced this pull request Oct 18, 2015
Support templating params as 'host' of Uri
@felipecsl felipecsl merged commit b183236 into airbnb:master Oct 18, 2015
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