# Tutorial: Requests Requests is a Python library that makes sending *HTTP requests* incredibly simple. Instead of dealing with complex details, you can use straightforward functions (like `requests.get()`) or **Session objects** to interact with web services. It automatically handles things like *cookies*, *redirects*, *authentication*, and connection pooling, returning easy-to-use **Response objects** with all the server's data. **Source Repository:** [https://github.com/psf/requests/tree/0e322af87745eff34caffe4df68456ebc20d9068/src/requests](https://github.com/psf/requests/tree/0e322af87745eff34caffe4df68456ebc20d9068/src/requests) ```mermaid flowchart TD A0["Request & Response Models"] A1["Session"] A2["Transport Adapters"] A3["Functional API"] A4["Authentication Handlers"] A5["Cookie Jar"] A6["Exception Hierarchy"] A7["Hook System"] A3 -- "Uses temporary" --> A1 A1 -- "Prepares/Receives" --> A0 A1 -- "Manages & Uses" --> A2 A1 -- "Manages" --> A5 A1 -- "Manages" --> A4 A1 -- "Manages" --> A7 A2 -- "Sends/Builds" --> A0 A4 -- "Modifies (adds headers)" --> A0 A5 -- "Populates/Reads" --> A0 A7 -- "Operates on" --> A0 A0 -- "Can Raise (raise_for_status)" --> A6 A2 -- "Raises Connection Errors" --> A6 ``` ## Chapters 1. [Functional API](01_functional_api.md) 2. [Request & Response Models](02_request___response_models.md) 3. [Session](03_session.md) 4. [Cookie Jar](04_cookie_jar.md) 5. [Authentication Handlers](05_authentication_handlers.md) 6. [Exception Hierarchy](06_exception_hierarchy.md) 7. [Transport Adapters](07_transport_adapters.md) 8. [Hook System](08_hook_system.md) --- Generated by [AI Codebase Knowledge Builder](https://github.com/The-Pocket/Tutorial-Codebase-Knowledge)