cleanup ContentType

This commit is contained in:
Ankit Mahato
2024-04-06 13:42:35 +05:30
parent 90eed294e7
commit 631c2e26d3
6 changed files with 8 additions and 8 deletions

View File

@ -238,8 +238,8 @@ function build_data_files(\$boundary, \$fields, \$files)
if (requestModel.hasFormData) {
// we will override any existing boundary and use our own boundary
m['Content-Type'] =
"multipart/form-data; boundary=-------------$uuid";
m[kHeaderContentType] =
"${ContentType.formdata.header}; boundary=-------------$uuid";
var boundaryUniqueIdTemplate =
jj.Template(kBoundaryUniqueIdTemplate);