[REBOL] Re: Silk
From: al:bri:xtra at: 8-Nov-2000 22:55
Directory browsing:
Directory: /Rebol/Spider/Web/
Add.gif
Edit.gif
Editing.gif
Form.html
Link.gif
Sample.html
Sub/
Nice html generation from HTML dialect:
<html>
<head>
<title>Directory: /Rebol/Silk/</title>
</head>
<body>
<h1>Directory: /Rebol/Silk/</h1>
<ul>
<li><a href="/Rebol/Silk/Rebol Server Pages/">Rebol Server
Pages/</a></li>
<li><a href="/Rebol/Silk/Request Methods/">Request Methods/</a></li>
<li><a href="/Rebol/Silk/RFC/">RFC/</a></li>
<li><a href="/Rebol/Silk/Silk.r">Silk.r</a></li>
<li><a href="/Rebol/Silk/Webserver.r">Webserver.r</a></li>
</ul>
</body>
</html>
Post Method not done yet, just echoes back the Request object (copied and
pasted from my browser):
Post-Request
make object! [
Root: %/c
Method: "POST"
URI: "/Rebol/Spider/Web/MyTest"
Absolute: %/c/Rebol/Spider/Web/MyTest
Accept: {image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/pdf, */*}
Referer: "http://localhost:8080/Rebol/Spider/Web/Form.html"
Accept-Language: "en-nz"
Content-Type: "application/x-www-form-urlencoded"
Accept-Encoding: "gzip, deflate"
User-Agent: "Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)"
Host: "localhost:8080"
Content-Length: "42"
Connection: "Keep-Alive"
Message-Body: "name=Andrew&sex=M&income=Under+%2425%2C000"
]
> Real Soon Now:
> * Serves most standard 'net documents
Done. I've just been browsing my HDD.
> Nearly done (each of these will be a plug in):
> * HTML Dialect - Recently published on [Web_Dialect--egroups--com]
Done.
Andrew Martin
Beak under wing...
ICQ: 26227169
http://members.nbci.com/AndrewMartin/