Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Fetcher should send headers of an actual browser #10873

Closed

Description

@gloomy-ghost

This can help us to avoid issues like #9877 where the fetching test failed because the site used header sniffing to determine bots. In addition, We should send excally the same headers, as some sites are sniffing headers other than User-Agent. e.g. sniffing of upgrade-insecure-requests

Activity

  1. J0WI commented on Jul 7, 2017

    @J0WI
    Contributor

    See also #10833

  2. Hainish commented on Jul 8, 2017

    @Hainish
    Member

    @gloomy-ghost this is always the goal, but I don't think we need to open an issue for this. Especially because there are strange idiosyncrasies with pyCurl, we're never going to get 100% alignment with the browsers, see #10944. Plus the browsers are a moving target.

    I suggest a more specific issue, like "Update user-agent string to Firefox 52" or something like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions