Commit fb0521f1 authored by Neal Norwitz's avatar Neal Norwitz

Use versionadded for new features

parent a9208f1f
...@@ -250,11 +250,13 @@ same functionality using only one header. ...@@ -250,11 +250,13 @@ same functionality using only one header.
\begin{methoddesc}[Request]{add_unredirected_header}{key, header} \begin{methoddesc}[Request]{add_unredirected_header}{key, header}
Add a header that will not be added to a redirected request. Add a header that will not be added to a redirected request.
\versionadded{2.4}
\end{methoddesc} \end{methoddesc}
\begin{methoddesc}[Request]{has_header}{header} \begin{methoddesc}[Request]{has_header}{header}
Return whether the instance has the named header (checks both regular Return whether the instance has the named header (checks both regular
and unredirected). and unredirected).
\versionadded{2.4}
\end{methoddesc} \end{methoddesc}
\begin{methoddesc}[Request]{get_full_url}{} \begin{methoddesc}[Request]{get_full_url}{}
...@@ -637,6 +639,8 @@ Raise a \exception{URLError} exception. ...@@ -637,6 +639,8 @@ Raise a \exception{URLError} exception.
\subsection{HTTPErrorProcessor Objects \label{http-error-processor-objects}} \subsection{HTTPErrorProcessor Objects \label{http-error-processor-objects}}
\versionadded{2.4}
\begin{methoddesc}[HTTPErrorProcessor]{unknown_open}{} \begin{methoddesc}[HTTPErrorProcessor]{unknown_open}{}
Process HTTP error responses. Process HTTP error responses.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment