Added GET_STREAM to switch in http::request().
This commit is contained in:
parent
438a3932e1
commit
ccedfba4af
|
@ -107,6 +107,7 @@ return_call API::http::request(const http_method &meth,
|
|||
switch (meth)
|
||||
{
|
||||
case http_method::GET:
|
||||
case http_method::GET_STREAM:
|
||||
break;
|
||||
case http_method::PATCH:
|
||||
request.setOpt<curlopts::CustomRequest>("PATCH");
|
||||
|
@ -120,8 +121,6 @@ return_call API::http::request(const http_method &meth,
|
|||
case http_method::DELETE:
|
||||
request.setOpt<curlopts::CustomRequest>("DELETE");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
//request.setOpt<curlopts::Verbose>(true);
|
||||
|
|
Reference in New Issue