Skip to content

Improve documentation with best practices for request timeouts #7132

@kana44

Description

@kana44

Hi!
Thank you for maintaining the requests library.

While using requests, I noticed that timeouts are very important in real-world applications to avoid hanging requests. Although timeouts are mentioned in the documentation, beginners might not fully understand when and why they should always be used.

It could be helpful to add a short explanation or simple example that shows best practices for using timeouts and explains why they improve reliability.

This could help new users write safer and more robust applications.

Thank you for your great work on this library!

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions