Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Need some URL help

From: hallvard:ystad:gma:il at: 24-Jan-2006 14:42

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: 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: strange.txt if anyone would like to have a look. HY On 24/01/06, <> wrote: