From 7148abdcc27c4fe061119b4e6fb05b6ee9987dc8 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Tue, 9 Dec 2014 17:05:02 +0100 Subject: [PATCH] HttpForm: implement copy constructor. Thanks to GCI studdent arroyoc for finding that this was missing and HttpRequest.SetFormData couldn't work. --- src/kits/network/libnetapi/HttpForm.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/kits/network/libnetapi/HttpForm.cpp b/src/kits/network/libnetapi/HttpForm.cpp index ef14efab8e..7d229cf65d 100644 --- a/src/kits/network/libnetapi/HttpForm.cpp +++ b/src/kits/network/libnetapi/HttpForm.cpp @@ -248,7 +248,9 @@ BHttpForm::BHttpForm() BHttpForm::BHttpForm(const BHttpForm& other) : - fType(B_HTTP_FORM_URL_ENCODED) + fType(other.fType), + fFields(other.fFields), + fMultipartBoundary(other.fMultipartBoundary) { }