Commit c4e41a95 authored by jan.koester's avatar jan.koester
Browse files

test

parent f248418f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4715,7 +4715,8 @@ void libhttppp::HttpRequest::send(const HttpUrl &dest,
}

void libhttppp::HttpRequest::setRequestType(int req){
  if(req == POSTREQUEST || req == GETREQUEST || req == PUTREQUEST || req == DELETEREQUEST){
  if(req == POSTREQUEST || req == GETREQUEST || req == PUTREQUEST || req == DELETEREQUEST ||
     req == OPTIONSREQUEST || req == HEADREQUEST || req == PATCHREQUEST){
    _RequestType=req;
    return;
  }