Go to the latest version of this document.
search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``twisted`.`web`.`client`.`BrowserLikeRedirectAgent``

class documentation

`class BrowserLikeRedirectAgent(RedirectAgent): (source)`

View In Hierarchy

An `Agent` wrapper which handles HTTP redirects in the same fashion as web browsers.

Unlike `RedirectAgent`, the implementation is more relaxed: 301 and 302 behave like 303, redirecting automatically on any method and altering the redirect request to a GET.

See Also
`RedirectAgent`
Present Since
13.1

Class Variable | `_redirectResponses` | Undocumented
Class Variable | `_seeOtherResponses` | Undocumented

Inherited from `RedirectAgent`:

Method | `__init__` | Undocumented
Method | `request` | Send a client request following HTTP redirects.
Method | `_handleRedirect` | Handle a redirect response, checking the number of redirects already followed, and extracting the location header fields.
Method | `_handleResponse` | Handle the response, making another request if it indicates a redirect.
Method | `_resolveLocation` | Resolve the redirect location against the request URI.
Instance Variable | `_agent` | Undocumented
Instance Variable | `_redirectLimit` | Undocumented
Instance Variable | `_sensitiveHeaderNames` | Undocumented

_redirectResponses = (source)
overrides `twisted.web.client.RedirectAgent._redirectResponses`

Undocumented

_seeOtherResponses = (source)
overrides `twisted.web.client.RedirectAgent._seeOtherResponses`

Undocumented