Skip to content

Commit

Permalink
http: no need for Origin header
Browse files Browse the repository at this point in the history
  • Loading branch information
gobwas committed Oct 16, 2017
1 parent 306ef40 commit 1f9c0e9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions http.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,9 @@ var (
)

var (
headerHost = textproto.CanonicalMIMEHeaderKey("Host")
headerUpgrade = textproto.CanonicalMIMEHeaderKey("Upgrade")
headerConnection = textproto.CanonicalMIMEHeaderKey("Connection")
headerHost = textproto.CanonicalMIMEHeaderKey("Host")
headerOrigin = textproto.CanonicalMIMEHeaderKey("Origin")
headerSecVersion = textproto.CanonicalMIMEHeaderKey("Sec-Websocket-Version")
headerSecProtocol = textproto.CanonicalMIMEHeaderKey("Sec-Websocket-Protocol")
headerSecExtensions = textproto.CanonicalMIMEHeaderKey("Sec-Websocket-Extensions")
Expand Down

0 comments on commit 1f9c0e9

Please sign in to comment.