diff options
Diffstat (limited to 'tests/httpd')
-rw-r--r-- | tests/httpd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/httpd b/tests/httpd index 2bef362..f41c3c1 100644 --- a/tests/httpd +++ b/tests/httpd @@ -201,7 +201,8 @@ proc httpdRespond { sock } { } else { puts $sock "HTTP/1.0 200 Data follows" } - puts $sock "Date: [clock format [clock clicks]]" + puts $sock "Date: [clock format [clock seconds] \ + -format {%a, %d %b %Y %H:%M:%S %Z}]" puts $sock "Content-Type: $type" puts $sock "Content-Length: [string length $html]" puts $sock "" |