8000 GitHub · Where software is built
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
User-Agent not being set on web socket connections #1450
Closed
@awsmsrc

Description

@awsmsrc

I'm connecting to a websocket server and would like to use the user agent string to record which app versions are hitting my server as specified here: #134

Here is the headers my Golang websocket server is seeing as set

http.Header{"Connection":[]string{"Upgrade"}, "Pragma":[]string{"no-cache"}, "Cache-Control":[]string{"no-cache"}, "Upgrade":[]string{"websocket"}, "Origin":[]string{"file://"}, "Sec-Websocket-Version":[]string{"13"}, "Accept-Encoding":[]string{"gzip, deflate"}, "Sec-Websocket-Extensions":[]string{"permessage-deflate; client_max_window_bits"}, "Accept-Language":[]string{"en-us,en"}, "Sec-Websocket-Key":[]string{"3PMSIjv8pr7CzxjnJI+LGw=="}, "User-Agent":[]string{"”}}

Possibly related to: nwjs/nw.js#2914

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0