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

Incorrect HeaderOrder #342

Open
galerts opened this issue May 2, 2024 · 0 comments
Open

Incorrect HeaderOrder #342

galerts opened this issue May 2, 2024 · 0 comments
Assignees
Labels
triage This ticket will be looked at shortly

Comments

@galerts
Copy link

galerts commented May 2, 2024

Description

By default ordering "user-agent" must be before "accept". But by testing your module by https://tls.peet.ws/api/all I see useragent header at the last position.

Issue Type

Bug

Operating System

No response

Node Version

None

Golang Version

None

Relevant Log Output

":method: GET",
          ":authority: tls.peet.ws",
          ":scheme: https",
          ":path: /api/all",
          "sec-ch-ua: \\\"Chromium\\\";v=\\\"123\\\", \\\"Not(A:Brand\\\";v=\\\"8\\\", \\\"Google Chrome\\\";v=\\\"123\\",
          "sec-ch-ua-mobile: ?1",
          "sec-ch-ua-platform: \\\"Android\\",
          "accept: application/json, text/plain, */*",
          "sec-fetch-site: same-origin",
          "sec-fetch-mode: cors",
          "sec-fetch-dest: empty",
          "referer: https://ya.ru",
          "accept-encoding: gzip, deflate, br, zstd",
          "accept-language: ru-RU,ru;q=0.9",
          "user-agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Mobile Safari/537.36",
@galerts galerts added the triage This ticket will be looked at shortly label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage This ticket will be looked at shortly
Projects
None yet
Development

No branches or pull requests

2 participants