Skip to content

Commit

Permalink
remove scgi
Browse files Browse the repository at this point in the history
  • Loading branch information
narimiran committed Jan 10, 2019
1 parent da57c0a commit 8d9b093
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 301 deletions.
3 changes: 0 additions & 3 deletions doc/lib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,6 @@ Internet Protocols and Support
* `cgi <cgi.html>`_
This module implements helpers for CGI applications.

* `scgi <scgi.html>`_
This module implements helpers for SCGI applications.

* `browsers <browsers.html>`_
This module implements procs for opening URLs with the user's default
browser.
Expand Down
295 changes: 0 additions & 295 deletions lib/pure/scgi.nim

This file was deleted.

9 changes: 7 additions & 2 deletions tests/bind/tnicerrorforsymchoice.nim
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
discard """
errormsg: "type mismatch: got <proc (s: TScgi: ScgiState or AsyncScgiState) | proc (client: AsyncSocket, headers: StringTableRef, input: string){.noSideEffect, gcsafe, locks: 0.}>"
line: 18
line: 23
"""

# Fake ScgiState objects, from now-deprecated scgi module
type
ScgiState* = object of RootObj ## SCGI state object
AsyncScgiState* = object of RootObj ## SCGI state object

#bug #442
import scgi, sockets, asyncio, strtabs
import sockets, asyncio, strtabs
proc handleSCGIRequest[TScgi: ScgiState | AsyncScgiState](s: TScgi) =
discard
proc handleSCGIRequest(client: AsyncSocket, headers: StringTableRef,
Expand Down
1 change: 0 additions & 1 deletion tools/kochdocs.nim
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ lib/pure/colors.nim
lib/pure/mimetypes.nim
lib/pure/json.nim
lib/pure/base64.nim
lib/pure/scgi.nim
lib/impure/nre.nim
lib/impure/nre/private/util.nim
lib/deprecated/pure/sockets.nim
Expand Down

0 comments on commit 8d9b093

Please sign in to comment.