Kaydet (Commit) cc97ebf5 authored tarafından Fred Drake's avatar Fred Drake

get_method() returns a method name, not take it as an argument

(backporting to release24-maint branch)
üst f2dbeff6
...@@ -254,8 +254,8 @@ string, and will change the request to be \code{POST} rather than ...@@ -254,8 +254,8 @@ string, and will change the request to be \code{POST} rather than
\begin{methoddesc}[Request]{get_method}{} \begin{methoddesc}[Request]{get_method}{}
Return a string indicating the HTTP request method. This is only Return a string indicating the HTTP request method. This is only
meaningful for HTTP requests, and currently always takes one of the meaningful for HTTP requests, and currently always returns
values ("GET", "POST"). \code{'GET'} or \code{'POST'}.
\end{methoddesc} \end{methoddesc}
\begin{methoddesc}[Request]{has_data}{} \begin{methoddesc}[Request]{has_data}{}
......
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