-
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.
- Loading branch information
Showing
2 changed files
with
3 additions
and
5 deletions.
There are no files selected for viewing
5 changes: 2 additions & 3 deletions
5
tests/simple_server_function_test/response_file/cgi_client_redirect.txt
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
HTTP/1.1 200 Ok | ||
HTTP/1.1 302 Found | ||
Connection: close | ||
Content-Type: text/html | ||
Location: http://localhost/ | ||
Location: http://www.google.com/ | ||
Status: 302 Found | ||
|
3 changes: 1 addition & 2 deletions
3
tests/simple_server_function_test/www/cgi-bin/client_redirect.py
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
print("Status: 302 Found") | ||
print("Location: http://localhost/") | ||
print("Content-Type: text/html") | ||
print("Location: http://www.google.com/") | ||
print() # ヘッダーの終わりを示す空行 |