diff options
Diffstat (limited to 'lib/httpserver/HTTPResponse.h')
-rw-r--r-- | lib/httpserver/HTTPResponse.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/httpserver/HTTPResponse.h b/lib/httpserver/HTTPResponse.h index f3d16eef..04051958 100644 --- a/lib/httpserver/HTTPResponse.h +++ b/lib/httpserver/HTTPResponse.h @@ -48,6 +48,7 @@ public: HTTPResponse &operator=(const HTTPResponse &rOther) { + Reset(); Write(rOther.GetBuffer(), rOther.GetSize()); mResponseCode = rOther.mResponseCode; mResponseIsDynamicContent = rOther.mResponseIsDynamicContent; |