visionect: change http-backend to use CRLF.
parent
2f8e96a6b6
commit
298bbddeb1
|
@ -180,11 +180,11 @@ PRIVATE>
|
||||||
"multipart/form-data; boundary=\"" boundary "\"" 3append :> content-type
|
"multipart/form-data; boundary=\"" boundary "\"" 3append :> content-type
|
||||||
content-type <post-data>
|
content-type <post-data>
|
||||||
[
|
[
|
||||||
"--" % boundary % "\n" %
|
"--" % boundary % "\r\n" %
|
||||||
"Content-Disposition: form-data; name=\"image\"; filename=\"image.png\"\n" %
|
"Content-Disposition: form-data; name=\"image\"; filename=\"image.png\"\r\n" %
|
||||||
"Content-Type: image/png\n" %
|
"Content-Type: image/png\r\n" %
|
||||||
"\n" %
|
"\r\n" %
|
||||||
png-data % "\n" %
|
png-data % "\r\n" %
|
||||||
"--" % boundary % "--\n" %
|
"--" % boundary % "--\r\n" %
|
||||||
] B{ } make >>data
|
] B{ } make >>data
|
||||||
"/backend/" uuid append visionect-post drop ;
|
"/backend/" uuid append visionect-post drop ;
|
||||||
|
|
Loading…
Reference in New Issue