HttpForm: implement copy constructor.

Thanks to GCI studdent arroyoc for finding that this was missing and
HttpRequest.SetFormData couldn't work.
This commit is contained in:
Adrien Destugues 2014-12-09 17:05:02 +01:00
parent ff68ae9837
commit 7148abdcc2

View File

@ -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)
{
}