Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAllow embedders to provide user agent string #25646
Closed
Labels
Comments
|
Hi! If you have any questions regarding this issue, feel free to make a comment here, or ask it in the If you intend to work on this issue, then add |
|
@highfive: assign me |
|
Hey @medimatrix! Thanks for your interest in working on this issue. It's now assigned to you! |
|
@jdm @medimatrix Is it possible for me to take up this issue if we are not making progress on it currently? |
|
Sure. I have made some changes taking into account both the reviews and changes in #25672. I can raise a PR for the issue, if that's Ok! |
|
Please do! |
bors-servo
added a commit
that referenced
this issue
Apr 6, 2020
Extract user_agent from global opts and allow embedder to provide user agent string <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #25646 - [x] These changes do not require tests because these are refactoring changes and I'm assuming that existing tests cover these changes. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
bors-servo
added a commit
that referenced
this issue
Apr 6, 2020
Extract user_agent from global opts and allow embedder to provide user agent string <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #25646 - [x] These changes do not require tests because these are refactoring changes and I'm assuming that existing tests cover these changes. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
bors-servo
added a commit
that referenced
this issue
Apr 6, 2020
Extract user_agent from global opts and allow embedder to provide user agent string <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #25646 - [x] These changes do not require tests because these are refactoring changes and I'm assuming that existing tests cover these changes. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It should be up to the embedder to decide what user agent to report in network requests, rather than deep in the engine in
servo/components/config/opts.rs
Line 480 in 8e0d037