Skip to content

Conversation

@rdbhost
Copy link

@rdbhost rdbhost commented Dec 13, 2014

This change makes the Origin comply with rfc 6454, in that it is now scheme://hostname[:port], in lieu of full url.

Also allows overriding of default Origin with an Origin header in the headers parameter to constructor.

Thank you.

An Origin header provided overrides default header.
Default Origin header now is scheme://domain[:port] , not full url
Lawouach added a commit that referenced this pull request Dec 17, 2014
Improve Origin handling in Client
@Lawouach Lawouach merged commit a88bc5d into Lawouach:master Dec 17, 2014
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