Thanks for the tip, but I now tried with different haeders (didn't even
include the user-agent header on first attempts). I have experimented with
both HTTP/1.1 and HTTP/1.0, kept-alive and closed connections, with and
without specifying the host, with different user-agents and even from
different IPs... And nothing seems to make any difference. I now get the 302
error on all attempts.

The rebol console looks like this:
[We send:]
GET /article.cgi?i=400&r=0 HTTP/1.1
Host: www.linuxtelephony.org
connection: close
user-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

HTTP/1.1 302 Moved Temporarily
** Script Error: Out of range or past end
** Near: not empty? reply: first port
>>


When I probe the port, I see this:
    state: make object! [
        flags: 791107
        misc: [144 [] 0]
        tail: 0
        num: 1
        with: "^M^/"
        custom: none
        index: 0
        func: 3
        fpos: 0
        inBuffer: "^/"

... Could it be that the server says it's newlines are "^M^/", but the last
newline it actually sends, is only "^/"?

I put everything in a file: http://babelserver.org/  strange.txt
if anyone would like to have a look.

HY




On 24/01/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Hallvard:
>
> > But the behaviour is consistent on my side: I get a 302 redirect to some
> URL
> >  with a session ID in it, which will (probably set a cookie and then)
> >  redirect me back. This works with a browser, but not with rebol...
>
> Weird.....I got a 302 redirect one time I tried, but not any of the other
> times.
>
> It's possible the site is sniffing user agents, and redirecting ones it
> doesn't like to a different (simpler?) version of the site.  So you could
> try
> playing round with:
>
> system/schemes/http/user-agent: "Mozilla/4.0 (compatible; MSIE 6.0;
> Windows
> NT 5.0)"
>
> see if different user agent strings make a difference.
>
> Another possibility to explain the randomness is that they are doing some
> sort of load balancing/redirecting based on IP address.  If so, you could
> try
> coming at them via an anonymizing website.
>
> Either way, good luck!
> Sunanda.
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
>


--
Prætera censeo Carthaginem esse delendam

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to