diff --git a/curl_cffi/requests/session.py b/curl_cffi/requests/session.py index 112fbd8e..705b67e6 100644 --- a/curl_cffi/requests/session.py +++ b/curl_cffi/requests/session.py @@ -281,7 +281,10 @@ def _set_curl_options( c = curl # method - c.setopt(CurlOpt.CUSTOMREQUEST, method.encode()) + if method == "POST": + c.setopt(CurlOpt.POST, 1) + elif method != "GET": + c.setopt(CurlOpt.CUSTOMREQUEST, method.encode()) # url if self.params: