浏览代码

HTTPSClient::Request::Request uses GET by default instead of empty string.

Miku AuahDark 2 年之前
父节点
当前提交
78d691b21c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/common/HTTPSClient.cpp

+ 2 - 2
src/common/HTTPSClient.cpp

@@ -30,8 +30,8 @@ bool HTTPSClient::ci_string_less::operator()(const std::string &lhs, const std::
 }
 
 HTTPSClient::Request::Request(const std::string &url)
-	: url(url)
-	, method("")
+: url(url)
+, method("GET")
 {
 }