metaeducation / rebol-issues

6 stars 1 forks source link

EXISTS? function and HTTP #1613

Open rebolbot opened 14 years ago

rebolbot commented 14 years ago

Submitted by: Ladislav

I prefer to obtain TRUE from the expression below.

>> exists? http://www.fm.tul.cz/~ladislav/rebol/timblk.r
== none

CC - Data [ Version: alpha 99 Type: Bug Platform: All Category: Unspecified Reproduce: Always Fixed-in:none ]

rebolbot commented 14 years ago

Submitted by: Carl

I agree it should return the correct result... but how do we really want to define EXISTS? and other similar functions for HTTP and other network protocols?

We need to write a short spec, and then make it work that way.

rebolbot commented 14 years ago

Submitted by: Graham

It should simple examine the headers returned by HEAD and report true if the target is a file.

rebolbot commented 14 years ago

Submitted by: Ladislav

in the core-tests suite