Skip to content

Make default headers editable on Python side #544

@sadikhan918

Description

@sadikhan918

Hello,

I want to use impersonation on a session but I also want to see the header values before I send a request (like the user agent). When I instantiate the session object with impersonation, the headers dict remains empty. Is this meant to be intended? I read online that this might be because the headers are dynamically created on request but I feel like if a session is used then they would be saved somewhere inside the session.

I don't know if this feature exists or I haven't found it. Wanted to ask and see if there was an answer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions