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

test

parent e2789860
Loading
Loading
Loading
Loading
+0 −13
Changes for src/http.cpp: 0 added lines, 13 removed lines.
Original line number Diff line number Diff line
@@ -687,9 +687,6 @@ libhttppp::HttpHeader::HeaderData::HeaderData(const std ::string &key){
    _lastValue=nullptr;
}

libhttppp::HttpHeader::HeaderData::~HeaderData(){
}

libhttppp::HttpHeader::HeaderData::Values * libhttppp::HttpHeader::HeaderData::getfirstValue(){
    return _firstValue.get();
}
@@ -767,13 +764,6 @@ libhttppp::HttpHeader::HeaderData::Values::Values(const std::string& val) {
  _value=val;
}

libhttppp::HttpHeader::HeaderData::Values::~Values(){
}

libhttppp::HttpHeader::~HttpHeader(){
    clear();
}

libhttppp::HttpResponse::HttpResponse() : HttpHeader(){
  setState(HTTP200);
  setVersion(HTTPVERSION(1.1));
@@ -1358,9 +1348,6 @@ void libhttppp::HttpRequest::setRequestURL(const std::string &url){
}


libhttppp::HttpRequest::~HttpRequest(){
}

libhttppp::HttpForm::HttpForm(){
  _Elements=0;
}
+2 −2
Changes for src/http.h: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -114,7 +114,7 @@ namespace libhttppp {
        Values      *nextvalue();
        Values(const char *value);
        Values(const std::string& val);
        ~Values();
        ~Values() = default;
      private:
        std::string  _value;
        std::unique_ptr<Values> _nextvalue;
@@ -140,7 +140,7 @@ namespace libhttppp {

      HeaderData *nextHeaderData();
      HeaderData(const std ::string &key);
      ~HeaderData();
      ~HeaderData() = default;
    private:
      std::string  _Key;
      std::unique_ptr<Values> _firstValue;