mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-07-13 06:04:31 +02:00
The test directory!
This commit is contained in:
6
test/cgi/cat
Executable file
6
test/cgi/cat
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
echo Content-type: text/plain
|
||||
echo
|
||||
|
||||
cat > /tmp/luasocket.cat.tmp
|
||||
cat /tmp/luasocket.cat.tmp
|
5
test/cgi/cat-index-html
Executable file
5
test/cgi/cat-index-html
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
echo Content-type: text/plain
|
||||
echo
|
||||
|
||||
cat ../index.html
|
5
test/cgi/env
Executable file
5
test/cgi/env
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
echo Content-type: text/plain
|
||||
echo
|
||||
|
||||
env
|
4
test/cgi/query-string
Executable file
4
test/cgi/query-string
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
echo Content-type: text/plain
|
||||
echo
|
||||
echo $QUERY_STRING
|
3
test/cgi/redirect-loop
Executable file
3
test/cgi/redirect-loop
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
echo Location: http://$HTTP_HOST$REQUEST_URI
|
||||
echo
|
4
test/cgi/request-uri
Executable file
4
test/cgi/request-uri
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
echo Content-type: text/plain
|
||||
echo
|
||||
echo $REQUEST_URI
|
Reference in New Issue
Block a user