diff --git a/proxy/http/server.go b/proxy/http/server.go index 1cedd9ba..6304b187 100755 --- a/proxy/http/server.go +++ b/proxy/http/server.go @@ -239,6 +239,10 @@ func (s *Server) handlePlainHTTP(ctx context.Context, request *http.Request, wri request.Header.Set("User-Agent", "") } + ctx = session.ContextWithContent(ctx, &session.Content{ + Protocol: "http/1.1", + }) + link, err := dispatcher.Dispatch(ctx, dest) if err != nil { return err