Rebol's modified?
[1/6] from: mat::b::codeplay::com at: 4-Sep-2001 9:35
Hello,
Anyone got some idea on why modified? on URLs appears to be so
inconsistent?
If I do a HTTP head request via Telnet to our Apache web server, I see
the date just fine. But in Rebol;
>> print modified? http://www.codeplay.com/index.html
connecting to: www.codeplay.com
none
Any clues?
Regards,
Mat Bettinson
Codeplay
Tel: +44 (0)20 7482 3382
140-142 Kentish Town Rd, London, NW1 9QB
http://www.codeplay.com
[2/6] from: mario:cassani:icl at: 4-Sep-2001 15:43
Hi Mat,
> Anyone got some idea on why modified? on URLs appears to be so
> inconsistent?
<<quoted lines omitted: 4>>
> none
> Any clues?
You are probably working with an old or not default configured HTTP
server that doesn't give you information about the file.
Nihao
Mario
[3/6] from: mat:b:codeplay at: 4-Sep-2001 15:57
Hello Cassani,
CM> You are probably working with an old or not default configured HTTP
CM> server that doesn't give you information about the file.
So why do I see the date telnetting in and doing a head?
Regards,
Mat Bettinson
Codeplay
Tel: +44 (0)20 7482 3382
140-142 Kentish Town Rd, London, NW1 9QB
http://www.codeplay.com
[4/6] from: holger:rebol at: 4-Sep-2001 9:31
On Tue, Sep 04, 2001 at 09:35:24AM +0100, Mat Bettinson wrote:
> Hello,
> Anyone got some idea on why modified? on URLs appears to be so
<<quoted lines omitted: 4>>
> connecting to: www.codeplay.com
> none
That's because the server returns "none" for "Last-Modified".
--
Holger Kruse
[holger--rebol--com]
[5/6] from: mario:cassani:icl at: 4-Sep-2001 17:54
Hi Mat
> Hello Cassani,
You can call me Mario ;)
> CM> You are probably working with an old or not
> default configured HTTP
> CM> server that doesn't give you information about the file.
>
> So why do I see the date telnetting in and doing a head?
>
Telnet and HTTP are two different protocols usually
handled by different server acting in different ways.
A telnet is like a remote shell (or Command Prompt
if you are on the dark side of computer science) while
HTTP is a protocol to transfer mainly hypertexts (texts,
images, sounds and movies and... REBOL scripts ;))
Zaijian
Mario
[6/6] from: mat:b:codeplay at: 4-Sep-2001 18:28
Hello Mario,
CM> You can call me Mario ;)
My mail client isn't smart enough to know you've got your name reversed :)
>> So why do I see the date telnetting in and doing a head?
CM> Telnet and HTTP are two different protocols usually
CM> handled by different server acting in different ways.
Heh, I'm talking about manually telnetting into the HTTP port and
doing a head command. This reports the date of the page. Modified? is
checking something my web server is not responding to which Holger has
identified as "Last-Modified".
I'll try fix my web server.
Regards,
Mat Bettinson
Codeplay
Tel: +44 (0)20 7482 3382
140-142 Kentish Town Rd, London, NW1 9QB
http://www.codeplay.com
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted