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

refactor: allow exclude user agent using null value #1799

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PrimeWalkerVN
Copy link

@PrimeWalkerVN PrimeWalkerVN commented Jan 10, 2024

Purpose

Some contexts, the default user agent of the request does not need to contain of header list, so use null value to exclude it from header list of the request

Changes

Change logic of setting user-agent request's header

Additional information


  • I updated src/request.js

@trantrongkim98
Copy link

  • LGTM

Signed-off-by: primewalkervn <primewalkervn@gmail.com>
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.

None yet

2 participants