visionect: change http-backend to use CRLF.

master
John Benediktsson 2020-04-23 11:23:58 -07:00
parent 2f8e96a6b6
commit 298bbddeb1
1 changed files with 6 additions and 6 deletions

View File

@ -180,11 +180,11 @@ PRIVATE>
"multipart/form-data; boundary=\"" boundary "\"" 3append :> content-type
content-type <post-data>
[
"--" % boundary % "\n" %
"Content-Disposition: form-data; name=\"image\"; filename=\"image.png\"\n" %
"Content-Type: image/png\n" %
"\n" %
png-data % "\n" %
"--" % boundary % "--\n" %
"--" % boundary % "\r\n" %
"Content-Disposition: form-data; name=\"image\"; filename=\"image.png\"\r\n" %
"Content-Type: image/png\r\n" %
"\r\n" %
png-data % "\r\n" %
"--" % boundary % "--\r\n" %
] B{ } make >>data
"/backend/" uuid append visionect-post drop ;