mirror of https://github.com/python/cpython
Use versionadded for new features
This commit is contained in:
parent
a9208f1f99
commit
fb0521f153
|
@ -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…
Reference in New Issue