Home
last modified time | relevance | path

Searched refs:currentField (Results 1 – 2 of 2) sorted by relevance

/haiku/src/kits/network/libnetservices/
H A DHttpForm.cpp294 const BHttpFormData* currentField = &it->second; in RawData() local
296 switch (currentField->Type()) { in RawData()
301 result << '&' << BUrl::UrlEncode(currentField->Name()) in RawData()
302 << '=' << BUrl::UrlEncode(currentField->String()); in RawData()
310 if (!currentField->IsFile()) { in RawData()
311 result << '&' << BUrl::UrlEncode(currentField->Name()) in RawData()
314 reinterpret_cast<const char*>(currentField->Buffer()), in RawData()
315 currentField->BufferSize()); in RawData()
327 const BHttpFormData* currentField = &it->second; in RawData() local
328 result << _GetMultipartHeader(currentField); in RawData()
[all …]
H A DHttpRequest.cpp1113 const BHttpFormData* currentField = it.Next(); in _SendPostData()
1120 switch (currentField->Type()) { in _SendPostData()
1127 fSocket->Write(currentField->String().String(), in _SendPostData()
1128 currentField->String().Length()); in _SendPostData()
1133 BFile upFile(currentField->File().Path(), in _SendPostData()
1155 fSocket->Write(currentField->Buffer(), in _SendPostData()
1156 currentField->BufferSize()); in _SendPostData()