Hi Kat,
you wrote:
>I wrote a server that accepts http requests,
I expect the server is written in REBOL?
[snip]
>But when i use this line in Rebol:
> print read http://localhost/d:/aliases/tests.txt
I assume this line is executed by a second rebol shell acting as a web client?
If you are using two REBOL shells, web server, web client, then the
following error occurs in the REBOL shell acting as a client?
>
>and Rebol prints this:
>connecting to: localhost
>** Script Error: Invalid argument: {.
>** Where: make integer! value
>>>
I think it's difficult to tell without reviewing your webserver code and
the complete contents of the file tests.txt.
What happens when you enter the following line in the REBOL shell?
>> print read %/d/aliases/tests.txt
Elan