Commit 077f7237 authored by jan.koester's avatar jan.koester
Browse files

small fix

parent 531f3d35
Loading
Loading
Loading
Loading
+3 −0
Changes for src/http.cpp: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -369,8 +369,11 @@ size_t libhttppp::HttpResponse::parse(const char *data,size_t inlen){
    ++pos;
  }

  if(getData("content-length"))
    _ContentLength=getData("content-length");
  if(getData("content-type"))
    _ContentType=getData("content-type");
  if(getData("connection"))
    _Connection=getData("connection");

  return ++pos;