Skip to content

Commit a3ccab9

Browse files
iroquetaBeta Bot
authored andcommitted
Cherry pick branch 'genexuslabs:post-boundaries' into beta
1 parent 27b68eb commit a3ccab9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/com/genexus/internet/GXHttpClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ String getHeaderTemplate(String name, String fileName, String mimeType){
791791
}
792792
String getFormDataTemplate(String varName, String value){
793793
String contentType = getContentTypeFromString(value);
794-
return "--" + boundary + "\r\nContent-Disposition: form-data; name=\"" + varName + "\"\r\n" + ((contentType != null)? "Content-Type: " + contentType + "\r\n" : "") + "\r\n" + value;
794+
return "--" + boundary + "\r\nContent-Disposition: form-data; name=\"" + varName + "\"\r\n" + ((contentType != null)? "Content-Type: " + contentType + "\r\n" : "") + "\r\n" + value + "\r\n";
795795
}
796796

797797
private String getContentTypeFromString(String value){

0 commit comments

Comments
 (0)