diff options
author | bptato <nincsnevem662@gmail.com> | 2023-12-12 19:57:24 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-12-12 19:57:24 +0100 |
commit | 189e73f7092a69699f3a6ca39aa105d318baedd4 (patch) | |
tree | f363bc19211b30ee061a22c0c81bb03bb38558f4 /src/loader/loader.nim | |
parent | 820f0f0f039252533133c3bd1037a73036815a45 (diff) | |
download | chawan-189e73f7092a69699f3a6ca39aa105d318baedd4.tar.gz |
local CGI improvements, move data: to cgi-bin
error codes are WIP, not final yet...
Diffstat (limited to 'src/loader/loader.nim')
-rw-r--r-- | src/loader/loader.nim | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/loader/loader.nim b/src/loader/loader.nim index 5fb49c07..b6250098 100644 --- a/src/loader/loader.nim +++ b/src/loader/loader.nim @@ -31,7 +31,6 @@ import js/javascript import loader/cgi import loader/connecterror import loader/curlhandle -import loader/data import loader/file import loader/ftp import loader/gopher @@ -147,9 +146,6 @@ proc loadResource(ctx: LoaderContext, request: Request, handle: LoaderHandle) = let handleData = handle.loadHttp(ctx.curlm, request) if handleData != nil: ctx.handleList.add(handleData) - of "data": - handle.loadData(request) - handle.close() of "ftp", "ftps", "sftp": let handleData = handle.loadFtp(ctx.curlm, request) if handleData != nil: |