Lines Matching refs:formData
37 #include "FormData.h"
56 void setHTTPBody(CFMutableURLRequestRef request, PassRefPtr<FormData> formData)
58 if (!formData) {
63 size_t count = formData->elements().size();
70 const FormDataElement& element = formData->elements()[0];
82 const FormDataElement& element = formData->elements()[i];
95 PassRefPtr<FormData> httpBodyFromRequest(CFURLRequestRef request)
98 return FormData::create(CFDataGetBytePtr(bodyData.get()), CFDataGetLength(bodyData.get()));
101 RefPtr<FormData> formData = FormData::create();
109 formData->appendFile(filename);
112 formData->appendData(CFDataGetBytePtr(data), CFDataGetLength(data));
116 return formData.release();