mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Use versionadded for new features
This commit is contained in:
parent
a9208f1f99
commit
fb0521f153
1 changed files with 4 additions and 0 deletions
|
|
@ -250,11 +250,13 @@ same functionality using only one header.
|
|||
|
||||
\begin{methoddesc}[Request]{add_unredirected_header}{key, header}
|
||||
Add a header that will not be added to a redirected request.
|
||||
\versionadded{2.4}
|
||||
\end{methoddesc}
|
||||
|
||||
\begin{methoddesc}[Request]{has_header}{header}
|
||||
Return whether the instance has the named header (checks both regular
|
||||
and unredirected).
|
||||
\versionadded{2.4}
|
||||
\end{methoddesc}
|
||||
|
||||
\begin{methoddesc}[Request]{get_full_url}{}
|
||||
|
|
@ -637,6 +639,8 @@ Raise a \exception{URLError} exception.
|
|||
|
||||
\subsection{HTTPErrorProcessor Objects \label{http-error-processor-objects}}
|
||||
|
||||
\versionadded{2.4}
|
||||
|
||||
\begin{methoddesc}[HTTPErrorProcessor]{unknown_open}{}
|
||||
Process HTTP error responses.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue