mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
get_method() returns a method name, not take it as an argument
(backporting to release24-maint branch)
This commit is contained in:
@@ -254,8 +254,8 @@ string, and will change the request to be \code{POST} rather than
|
||||
|
||||
\begin{methoddesc}[Request]{get_method}{}
|
||||
Return a string indicating the HTTP request method. This is only
|
||||
meaningful for HTTP requests, and currently always takes one of the
|
||||
values ("GET", "POST").
|
||||
meaningful for HTTP requests, and currently always returns
|
||||
\code{'GET'} or \code{'POST'}.
|
||||
\end{methoddesc}
|
||||
|
||||
\begin{methoddesc}[Request]{has_data}{}
|
||||
|
||||
Reference in New Issue
Block a user