tidwall / SwiftWebSocket

Fast Websockets in Swift for iOS and OSX
MIT License
1.53k stars 246 forks source link

The Origin header should only contain the host and the port #94

Open zuzanqa opened 7 years ago

zuzanqa commented 7 years ago

Currently the Origin header in this library contains the absoluteString of the request URL. According to standard it should instead contain only the host and the port.