The test directory!
This commit is contained in:
parent
cf4d923d70
commit
307603b24d
4
test/auth/.htaccess
Normal file
4
test/auth/.htaccess
Normal file
@ -0,0 +1,4 @@
|
||||
AuthName "Test Realm"
|
||||
AuthType Basic
|
||||
AuthUserFile /home/diego/tec/luasocket/test/auth/.htpasswd
|
||||
require valid-user
|
1
test/auth/.htpasswd
Normal file
1
test/auth/.htpasswd
Normal file
@ -0,0 +1 @@
|
||||
luasocket:JFMQjUyOPu3yk
|
3002
test/auth/index.html
Normal file
3002
test/auth/index.html
Normal file
File diff suppressed because it is too large
Load Diff
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
|
3002
test/index.html
Normal file
3002
test/index.html
Normal file
File diff suppressed because it is too large
Load Diff
15
test/upload.html
Normal file
15
test/upload.html
Normal file
@ -0,0 +1,15 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>POST test</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<form action='http://localhost/luasocket-cgi-bin/cat-stdin' enctype='multipart/form-data' method=POST>
|
||||
<center>
|
||||
<input type="file" name="attach">
|
||||
<p>
|
||||
<input type=submit name=sendmail value="send">
|
||||
</center>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user