-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #99 from ak0327/feature/test
add test
- Loading branch information
Showing
68 changed files
with
1,468 additions
and
593 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import os | ||
|
||
|
||
def header(): | ||
print('Content-Type: text/html') | ||
print() | ||
|
||
|
||
def main(): | ||
src_file = os.environ.get('QUERY_STRING', '') | ||
file = open(f'html/big_size/{src_file}', 'r') | ||
content = file.read() | ||
print(content, end='') | ||
file.close() | ||
|
||
|
||
if __name__ == "__main__": | ||
header() | ||
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env perl | ||
|
||
use strict; | ||
use warnings; | ||
|
||
|
||
print "Content-Type: text/html\n\n"; | ||
print "\n"; | ||
|
||
print "hello\n"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env python3 | ||
import os | ||
import time | ||
|
||
|
||
def header(): | ||
print('Content-Type: text/html') | ||
print() | ||
|
||
|
||
def main(): | ||
query_string = os.environ.get('QUERY_STRING', '') | ||
print(f'sleep {query_string} sec') | ||
time.sleep(float(query_string)) | ||
print('fin') | ||
|
||
|
||
if __name__ == "__main__": | ||
header() | ||
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
redirect to google.com |
Oops, something went wrong.