[Xitami] FW: Website using Xitami

Keresztfalvi Laszlo xitami@lists.xitami.org
Mon, 14 Jan 2002 10:27:42 +0100


On Thu, Jan 10, 2002 at 04:13:30PM +0100, Francis Turner wrote:
> First a default page which gets redirected to index.html (ignore the .1 
> thats caused by the fact I had an index.html in the wget diretory)
> 
> C:\temp\wget>wget http://www.hanleytime.com/
> --15:24:41--  http://www.hanleytime.com/
>           => `index.html.1'
> Connecting to www.hanleytime.com:80... connected!
> HTTP request sent, awaiting response... 200 OK
> Length: 1,979 [text/html]
> 
>    0K                                                         0% @   
> 0.00 B/s
> 
> 15:27:38 (0.00 B/s) - Read error at byte 0/1979 (No such file or 
> directory). Ret
> rying.
> ..
> ^C

Intresting! Where did it know from that the file length will be 1979?
I've got this (debug enabled trace with wget):

>wget -d www.hanleytime.com
DEBUG output created by Wget 1.7 on linux-gnu.

parseurl ("www.hanleytime.com") -> host www.hanleytime.com -> opath  ->
dir  -> file  -> ndir
newpath: /
--10:21:28--  http://www.hanleytime.com/
           => `index.html'
Connecting to www.hanleytime.com:80... Caching www.hanleytime.com <->
216.175.64.191
Created fd 3.
connected!
---request begin---
GET / HTTP/1.0
User-Agent: Wget/1.7
Host: www.hanleytime.com
Accept: */*
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... HTTP/1.0 200 Ok
Server: Xitami
Content-Type: text/html
Content-Length: 3376
Last-Modified: Fri, 11 Jan 2002 01:00:48 GMT
Connection: Keep-Alive
Keep-Alive: timeout=30, max=25


Found www.hanleytime.com in host_name_address_map: 216.175.64.191
Registered fd 3 for persistent reuse.
Length: 3,376 [text/html]

    0K


... still waiting :)

The current DNS record is:
www.hanleytime.com      A       216.175.64.191

So I get connected, Xitami knows the file's type, timestamp and length.
But why is it neither sent nor read error stated?

Hope this helps,
Laszlo