Skip to content

Conversation

f-ld
Copy link

@f-ld f-ld commented Sep 17, 2019

Propose solution for issue #33

@f-ld
Copy link
Author

f-ld commented Apr 10, 2020

Any updates? Is this project dead? This is a very simple change and in a couple of clicks it can be merged.

@justincmoy
Copy link

It looks like this can be solved without changes to this project. Something like:

wsp := &websocketproxy.WebSocketProxy{
    Director: func(incoming *http.Request, out http.Header) {
        if ua := incoming.Header.Get("User-Agent"); ua != "" {
		out.Add("User-Agent", ua)
	}
    },
}

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.

3 participants