Skip to content

Ability to set user agent #92

Answered by Oldes
SebastianMpl asked this question in Q&A
Discussion options

You must be logged in to vote
>> system/schemes/http/headers/user-agent: "Blabla"
== "Blabla"

>> read https://httpbin.org/headers
 [HTTP] Opening connection: tls://httpbin.org:443
 [HTTP] Request: {GET /headers HTTP/1.1^M
Host: httpbin.org^M
Accept: */*^M
Accept-charset: utf-8^M
Accept-Encoding: gzip,deflate,br^M
User-Agent: Blabla^M
}
 [HTTP] HTTP/1.1 200 OK
 [HTTP] Headers: [
    Content-Length: "243"
    Content-Encoding: none
    Transfer-Encoding: none
    Last-Modified: none
    Date: "Tue, 30 Apr 2024 09:25:22 GMT"
    Content-Type: "application/json"
    Connection: "keep-alive"
    Server: "gunicorn/19.9.0"
    Access-Control-Allow-Origin: "*"
    Access-Control-Allow-Credentials: "true"
]
 [HTTP] Done readi…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@SebastianMpl
Comment options

Answer selected by SebastianMpl
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants