Skip to content

Commit

Permalink
Remove the ; at the end of httpclient variable (#815)
Browse files Browse the repository at this point in the history
(cherry picked from commit 9e01b3a)
  • Loading branch information
tomas-sexenian committed Jan 2, 2024
1 parent 0efc37d commit 583dcbf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ String getHeaderTemplate(String name, String fileName, String mimeType){
return "Content-Disposition: form-data; name=\""+ name + "\"; filename=\""+ fileName + "\"\r\n" + "Content-Type: " + mimeType + "\r\n\r\n";
}
String getFormDataTemplate(String varName, String value){
return "\r\n--" + boundary + "\r\nContent-Disposition: form-data; name=\"" + varName + "\";\r\n\r\n" + value;
return "\r\n--" + boundary + "\r\nContent-Disposition: form-data; name=\"" + varName + "\"\r\n\r\n" + value;
}
}

Expand Down

0 comments on commit 583dcbf

Please sign in to comment.