We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85c229e commit 21d4a50Copy full SHA for 21d4a50
1 file changed
src/common/multipart.ml
@@ -35,7 +35,7 @@ let make_form_data ?debug ?(index=0) ~headers contents =
35
let n = String.length s in
36
if n > 1 && String.get s 0 = '"' && String.get s (n-1) = '"' then String.sub s 1 (n-2)
37
else s in
38
- let fo_content = String.concat "/r/n" contents in
+ let fo_content = String.concat "\r\n" contents in
39
let default = Format.sprintf "part%d" index in
40
let fo_name, fo_filename, fo_headers = match Req.StringMap.find_opt "content-disposition" headers with
41
| Some [ cd ] ->
0 commit comments