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 CallBuilder ready for absolute links from horizon #42

Merged
merged 2 commits into from
Nov 6, 2015
Merged

Conversation

nullstyle
Copy link
Contributor

  • Move normalization code into sendNormalRequest
  • Only normalize authority and protocol if not present.

- Move normalization code into `sendNormalRequest`
- Only normalize authority and protocol if not present.
if (url.protocol() === '') {
url = url.protocol(this.url.protocol());
}

Copy link
Contributor

Choose a reason for hiding this comment

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

^ formatting issues.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

damnit. I really need to fix my vim config

@bartekn
Copy link
Contributor

bartekn commented Nov 5, 2015

👍

nullstyle added a commit that referenced this pull request Nov 6, 2015
Make CallBuilder ready for absolute links from horizon
@nullstyle nullstyle merged commit 75cfe3b into master Nov 6, 2015
@nullstyle nullstyle deleted the urls branch November 6, 2015 00: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.

None yet

2 participants