about summary refs log tree commit diff stats
path: root/src/loader/loader.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-12-12 22:06:46 +0100
committerbptato <nincsnevem662@gmail.com>2023-12-12 22:07:07 +0100
commitbf761bcb6dcc5288a86aa5e8c2b67df3f0df056b (patch)
treea2f4c0d47ed484bcca4daaaa11b4d862243019fe /src/loader/loader.nim
parent1df10adfe7eb20bc460eeb0e5a8e242970642c58 (diff)
downloadchawan-bf761bcb6dcc5288a86aa5e8c2b67df3f0df056b.tar.gz
Move gopher to adapter/
Also, move default urimethodmap config to res.
Diffstat (limited to 'src/loader/loader.nim')
-rw-r--r--src/loader/loader.nim5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/loader/loader.nim b/src/loader/loader.nim
index 13684301..2116a403 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/gopher
 import loader/headers
 import loader/http
 import loader/loaderhandle
@@ -140,10 +139,6 @@ proc loadResource(ctx: LoaderContext, request: Request, handle: LoaderHandle) =
       let handleData = handle.loadHttp(ctx.curlm, request)
       if handleData != nil:
         ctx.handleList.add(handleData)
-    of "gopher", "gophers":
-      let handleData = handle.loadGopher(ctx.curlm, request)
-      if handleData != nil:
-        ctx.handleList.add(handleData)
     of "cgi-bin":
       handle.loadCGI(request, ctx.config.cgiDir, prevurl)
       handle.close()