Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add user-agent to outbound fetch requests #210

Merged
merged 2 commits into from
Jul 9, 2024

Conversation

magurotuna
Copy link
Member

This commit adds a special User-Agent header to outbound fetch requests.

Currently the user-agent header that upstream servers see is Deno/1.40.4 which is a common value across all requests made from deployments on Deno Deploy. Having a special user-agent in docland will help upstreams easily identify requests coming from docland.

@magurotuna magurotuna force-pushed the add-user-agent-to-outbound-request branch from 3d28342 to 29bd1bf Compare July 9, 2024 03:42
@magurotuna magurotuna requested a review from crowlKats July 9, 2024 03:47
@magurotuna magurotuna merged commit 9dce960 into main Jul 9, 2024
4 checks passed
@magurotuna magurotuna deleted the add-user-agent-to-outbound-request branch July 9, 2024 14:03
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.

2 participants