mirror of
https://git.freebsd.org/ports.git
synced 2025-06-28 08:00:31 -04:00
11 lines
386 B
C++
11 lines
386 B
C++
--- cpr/session.cpp.orig 2018-07-18 20:02:06 UTC
|
|
+++ cpr/session.cpp
|
|
@@ -350,7 +350,7 @@ Response Session::Impl::Patch() {
|
|
Response Session::Impl::Post() {
|
|
auto curl = curl_->handle;
|
|
if (curl) {
|
|
- curl_easy_setopt(curl, CURLOPT_HTTPGET, 0L);
|
|
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST");
|
|
curl_easy_setopt(curl, CURLOPT_NOBODY, 0L);
|
|
}
|
|
|