[Python] How do I specify URL resolution in python's requests library in a similar fashion to...

Discussão em 'Python' iniciado por Stack, Janeiro 30, 2025.

  1. Stack

    Stack Membro Participativo

    I am writing some python client code and, due to some environmental constraints, I want to specify a URL and also control how it is resolved. I can accomplish this with curl by using the --resolve flag. Is there a way to do something similar with Python's requests library?

    Ideally this would work in Python 2.7 but I can make a 3.x solution work as well.

    Continue reading...

Compartilhe esta Página