Skip to content

Commit

Permalink
Fix API links in web client howto
Browse files Browse the repository at this point in the history
These linked to an existing class, but with a bogus attribute attached.
  • Loading branch information
mthuurne committed Dec 11, 2020
1 parent 163c435 commit 459ba2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/web/howto/client.rst
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ happens before any of the response body, if there is one, is processed.
The ``Response`` object has several attributes giving the
response information: its code, version, phrase, and headers, as well as
the length of the body to expect. In addition to these, the
``Response`` also contains a reference to the :api:`twisted.web.iweb.IClientRequest.request <request>` that it is
``Response`` also contains a reference to the :api:`twisted.web.iweb.IClientRequest <request>` that it is
a response to; one particularly useful attribute on the request is :api:`twisted.web.iweb.IClientRequest.absoluteURI <absoluteURI>` :
The absolute URI to which the request was made. The
``Response`` object has a method which makes the response body
Expand Down Expand Up @@ -640,8 +640,8 @@ request.


As mentioned previously, :api:`twisted.web.client.Response <Response>` contains a reference to both
the :api:`twisted.web.iweb.IClientRequest.request <request>` that it is a response
to, and the previously received :api:`twisted.web.client.Response.response <response>` , accessible by :api:`previousResponse <previousResponse>` .
the :api:`twisted.web.iweb.IClientRequest <request>` that it is a response
to, and the previously received :api:`twisted.web.client.Response <response>` , accessible by :api:`twisted.web.client.Response.previousResponse <previousResponse>` .
In most cases there will not be a previous response, but in the case of
``RedirectAgent`` the response history can be obtained by
following the previous responses from response to response.
Expand Down

0 comments on commit 459ba2d

Please sign in to comment.