Skip to content

Only forward User-Agent header if present in incoming request - #22

Merged
clue merged 1 commit into
leproxy:masterfrom
clue-labs:user-agent
Jun 27, 2017
Merged

clue merged 1 commit into
leproxy:masterfrom
clue-labs:user-agent

Conversation

@clue

@clue clue commented Jun 27, 2017

Copy link
Copy Markdown
Member

This simple PR ensures that we only forward a User-Agent header to the upstream server if it is present in the incoming proxy request. We no longer apply a default User-Agent: React/alpha here.

Refs reactphp/http-client#100 and reactphp/http-client#101

@clue

clue commented Jun 27, 2017

Copy link
Copy Markdown
Member Author

Rebased on master now that #20 and #21 are in :shipit:

@clue
clue merged commit e4d9644 into leproxy:master Jun 27, 2017
@clue
clue deleted the user-agent branch June 27, 2017 20:12
@clue clue modified the milestone: v0.1.0 Jul 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants