about summary refs log tree commit diff stats
path: root/src/io
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-06-05 14:04:46 +0200
committerbptato <nincsnevem662@gmail.com>2023-06-05 14:05:20 +0200
commitc5d774073a90d122c757b677c149e11c7564e8e0 (patch)
tree187c747efb7fbf6e438ffad9c3ae6a45720e96dd /src/io
parent06c0dd1741af58eb55c27601b070010ad6c50dc8 (diff)
downloadchawan-c5d774073a90d122c757b677c149e11c7564e8e0.tar.gz
buffer: call handleError before handleRead & misc
Diffstat (limited to 'src/io')
-rw-r--r--src/io/loader.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/loader.nim b/src/io/loader.nim
index 1102b4b5..9e9865c3 100644
--- a/src/io/loader.nim
+++ b/src/io/loader.nim
@@ -233,7 +233,7 @@ proc applyHeaders(request: Request, response: Response) =
             destination = request.destination)
         else:
           response.redirect = newRequest(url.get, request.httpmethod,
-            body = request.body, # multipart = request.multipart, TODO TODO TODO
+            body = request.body, multipart = request.multipart,
             mode = request.mode, credentialsMode = request.credentialsMode,
             destination = request.destination)