(self)
| 403 | _body_position: int | object | None |
| 404 | |
| 405 | def __init__(self) -> None: |
| 406 | #: HTTP verb to send to the server. |
| 407 | self.method = None |
| 408 | #: HTTP URL to send the request to. |
| 409 | self.url = None |
| 410 | #: dictionary of HTTP headers. |
| 411 | self.headers = None # type: ignore[assignment] |
| 412 | # The `CookieJar` used to create the Cookie header will be stored here |
| 413 | # after prepare_cookies is called |
| 414 | self._cookies = None |
| 415 | #: request body to send to the server. |
| 416 | self.body = None |
| 417 | #: dictionary of callback hooks, for internal usage. |
| 418 | self.hooks = default_hooks() |
| 419 | #: integer denoting starting position of a readable file-like body. |
| 420 | self._body_position = None |
| 421 | |
| 422 | def prepare( |
| 423 | self, |
nothing calls this directly
no test coverage detected