Home
last modified time | relevance | path

Searched refs:MethodForPost (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/foundation/communication/netstack/frameworks/native/http/http_client/
H A Dhttp_client_request.cpp60 bool HttpClientRequest::MethodForPost(const std::string &method) in MethodForPost() function in OHOS::NetStack::HttpClient::HttpClientRequest
67 if (!MethodForGet(method) && !MethodForPost(method) && !method.empty()) { in SetMethod()
/ohos5.0/foundation/communication/netstack/frameworks/js/builtin/fetch/src/
H A Dhttp_request.cpp134 if (!MethodForGet(method) && !MethodForPost(method)) { in SetOption()
140 if (MethodForPost(method)) { in SetOption()
H A Dhttp_request_utils.cpp64 bool MethodForPost(const std::string &method) in MethodForPost() function
H A Dfetch_module.cpp210 if (MethodForPost(requestData->GetMethod())) { in ParseExtraData()
/ohos5.0/foundation/communication/netstack/frameworks/js/builtin/fetch/include/
H A Dhttp_request_utils.h44 bool MethodForPost(const std::string &method);
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/fetch/fetch_exec/src/
H A Dfetch_exec.cpp189 bool FetchExec::MethodForPost(const std::string &method) in MethodForPost() function in OHOS::NetStack::Fetch::FetchExec
235 if (!MethodForGet(method) && !MethodForPost(method)) { in SetOption()
287 if (MethodForPost(method) && !context->request.GetBody().empty()) { in SetOption()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/fetch/fetch_exec/include/
H A Dfetch_exec.h44 static bool MethodForPost(const std::string &method);
/ohos5.0/foundation/communication/netstack/test/unittest/http_client/
H A DHttpClientRequestTest.cpp284 bool method = req.MethodForPost("");
291 bool method = req.MethodForPost("POST");
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/http_client/include/
H A Dhttp_client_request.h202 bool MethodForPost(const std::string &method);
/ohos5.0/foundation/communication/netstack/frameworks/cj/http/include/
H A Dnet_http_client_exec.h47 static bool MethodForPost(const std::string &method);
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/http_exec/include/
H A Dhttp_exec.h72 static bool MethodForPost(const std::string &method);
/ohos5.0/foundation/communication/netstack/frameworks/cj/http/src/
H A Dnet_http_request_context.cpp420 if (NetHttpClientExec::MethodForPost(options.GetMethod())) { in ParseHeader()
461 if (NetHttpClientExec::MethodForPost(options.GetMethod())) { in ParseExtraData()
H A Dnet_http_client_exec.cpp308 bool NetHttpClientExec::MethodForPost(const std::string &method) in MethodForPost() function in OHOS::NetStack::Http::NetHttpClientExec
766 if (!MethodForGet(method) && !MethodForPost(method)) { in SetOption()
778 if (MethodForPost(method) && !context->options.GetBody().empty()) { in SetOption()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/fetch/async_context/src/
H A Dfetch_context.cpp113 if (FetchExec::MethodForPost(request.GetMethod())) { in ParseData()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/http_exec/src/
H A Dhttp_exec.cpp346 if (MethodForPost(method)) { in AddCurlHandle()
608 bool HttpExec::MethodForPost(const std::string &method) in AddCurlHandle() function in OHOS::NetStack::Http::HttpExec
1079 if (!MethodForGet(method) && !MethodForPost(method)) { in AddCurlHandle()
1098 if (MethodForPost(method) && !context->options.GetBody().empty()) { in AddCurlHandle()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/async_context/src/
H A Drequest_context.cpp239 if (HttpExec::MethodForPost(options.GetMethod())) { in ParseHeader()
313 if (HttpExec::MethodForPost(options.GetMethod())) { in ParseExtraData()