summary refs log tree commit diff stats
path: root/examples/httpserver2.nim
diff options
context:
space:
mode:
Diffstat (limited to 'examples/httpserver2.nim')
-rw-r--r--examples/httpserver2.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/httpserver2.nim b/examples/httpserver2.nim
index 13fea9e21..050684d3e 100644
--- a/examples/httpserver2.nim
+++ b/examples/httpserver2.nim
@@ -90,7 +90,7 @@ proc serveFile(client: Socket, filename: string) =
 
 # ------------------ CGI execution -------------------------------------------
 
-proc executeCgi(server: var TServer, client: Socket, path, query: string, 
+proc executeCgi(server: var TServer, client: Socket, path, query: string,
                 meth: TRequestMethod) =
   var env = newStringTable(modeCaseInsensitive)
   var contentLength = -1
@@ -123,12 +123,12 @@ proc executeCgi(server: var TServer, client: Socket, path, query: string,
   send(client, "HTTP/1.0 200 OK" & wwwNL)
 
   var process = startProcess(command=path, env=env)
- 
+
   var job: TJob
   job.process = process
   job.client = client
   server.job.add(job)
- 
+
   if meth == reqPost:
     # get from client and post to CGI program:
     var buf = alloc(contentLength)
q <rumpf_a@web.de> 2014-12-10 00:40:48 +0100 new website' href='/ahoang/Nim/commit/web/community.txt?h=devel&id=74fdd5c2eaa5507b636c70db80df7f9c3f332d2b'>74fdd5c2e ^
4cd558bda ^
74fdd5c2e ^

4cd558bda ^
74fdd5c2e ^
556f48808 ^
74fdd5c2e ^



4cd558bda ^
74fdd5c2e ^


4cd558bda ^
4cd558bda ^
74fdd5c2e ^
4cd558bda ^
74fdd5c2e ^

4cd558bda ^
4db50dcd8 ^


4cd558bda ^
74fdd5c2e ^

3ee048eaa ^
74fdd5c2e ^
e27e873b7 ^
571dbc8ef ^
74fdd5c2e ^
571dbc8ef ^
74fdd5c2e ^

571dbc8ef ^
74fdd5c2e ^

571dbc8ef ^
74fdd5c2e ^
571dbc8ef ^
74fdd5c2e ^

571dbc8ef ^
74fdd5c2e ^

571dbc8ef ^
74fdd5c2e ^
571dbc8ef ^
74fdd5c2e ^

571dbc8ef ^
74fdd5c2e ^


571dbc8ef ^
74fdd5c2e ^
571dbc8ef ^
74fdd5c2e ^


























556f48808 ^
74fdd5c2e ^












1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114