about summary refs log tree commit diff stats
path: root/src/buffer/buffer.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-04-30 19:35:46 +0200
committerbptato <nincsnevem662@gmail.com>2023-04-30 19:35:46 +0200
commit4b260035a6b9c3e09348a6eb3be1b211851e1e3f (patch)
tree66b20076226d5992e7a6c7c811b2658ab1d32f16 /src/buffer/buffer.nim
parentf44339b49181db611a7f469eb36aaa3215bd2da8 (diff)
downloadchawan-4b260035a6b9c3e09348a6eb3be1b211851e1e3f.tar.gz
Temporarily disable multipart
It never really worked, and I can't be bothered to fix it now
Diffstat (limited to 'src/buffer/buffer.nim')
-rw-r--r--src/buffer/buffer.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer/buffer.nim b/src/buffer/buffer.nim
index 85034d9e..2f3c5d76 100644
--- a/src/buffer/buffer.nim
+++ b/src/buffer/buffer.nim
@@ -838,7 +838,7 @@ func submitForm(form: HTMLFormElement, submitter: Element): Option[Request] =
     of FORM_ENCODING_TYPE_TEXT_PLAIN:
       body = serializePlainTextFormData(entrylist).some
       mimetype = $enctype
-    return newRequest(parsedaction, httpmethod, @{"Content-Type": mimetype}, body, multipart).some
+    return newRequest(parsedaction, httpmethod, @{"Content-Type": mimetype}, body).some #TODO multipart
 
   template getActionUrl() =
     return newRequest(parsedaction).some