httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <>
Subject Re: WWW Form Bug Report: "Incorrect time in HTTP reply" on NeXT
Date Thu, 04 Apr 1996 20:35:53 GMT

Thanks for the report. I'll pass it on to the
developers list.


>Operating system: NeXT, version: 3.3
>Extra Modules used: none, standard distribution
>URL exhibiting problem:
>The Date: header is not showing a correct time in HTTP reply. Example:
>>telnet 80
>Trying Connected to
>Escape character is '^]'.
>GET /abcd HTTP/1.0
>HTTP/1.0 404 Not found
>Date: Thu, 04 Apr 1996 ? GMT
>Server: Apache/1.0.3
>Content-type: text/html
><HEAD><TITLE>File Not found</TITLE></HEAD>
><BODY><H1>File Not found</H1>
>The requested URL /cd was not found on this server.<P>
>Connection closed by foreign host.
>This is because strftime on NeXT doesn't support %T conversion specification.
>Fix: in http.h replace:
>#define HTTP_TIME_FORMAT "%a, %d %b %Y %T GMT"
>with this:
>#ifdef NEXT
>#  define HTTP_TIME_FORMAT "%a, %d %b %Y %X"
>#  define HTTP_TIME_FORMAT "%a, %d %b %Y %T GMT"
>#endif NEXT
>%X on NeXT gives the same output as %T on other systems plus GMT

Rob Hartill (
The Internet Movie Database (IMDb)
           ...more movie info than you can poke a stick at.

View raw message