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

[REBOL] Bug! Rebol/View demo mode not able to read nbci site. Possibly not using

From: al:bri:xtra at: 26-Sep-2000 20:57

Earlier, I wrote:
> The problem is actually due to Rebol's use of an incompatible (with other
browsers) value for http/user-agent. If I change user-agent to this: system/schemes/http/user-agent: rejoin [ "Mozilla" "/" "4.0" " (Compatible; " system/schemes/http/user-agent ")" ] and place it in %user.r for Rebol View, and use the console, I can read my %index.r, %Roller.r and %Dice.r files on my site: REBOL/View 0.10.34.3.1 25-Sep-2000 Copyright 2000 REBOL Technologies. All rights reserved.
>> system/schemes/http/user-agent
== "Mozilla/4.0 (Compatible; REBOL 0.10.34.3.1)"
>> read http://members.nbci.com/_XMCM/AndrewMartin/index.r
== {REBOL [Title: "Andrew's Rebol/View stuff."] icon "Dice Roller" http://members.nbci.com/_XMCM/AndrewMartin/Roller.r }
>> read http://members.nbci.com/_XMCM/AndrewMartin/Roller.r
== {[ Rebol [ ^-Title: "Roller" ^-Name: 'Roller ^-File: %Roller.r ^-Author: "Andrew Martin" ^-Email: [Al--Bri--xtra--co--nz] ^-Date: 25/S...
>> read http://members.nbci.com/_XMCM/AndrewMartin/Dice.r
== {[ Rebol [ ^-Title: "Dice" ^-Name: 'Dice ^-File: %Dice.r ^-Author: "Andrew Martin" ^-Email: [Al--Bri--xtra--co--nz] ^-Date: 19/Sep/200... Yet, if I enter demo mode:
>> demo
and click several times to access my site on the rebol/web, Rebol can't read: http://members.nbci.com/_XMCM/AndrewMartin/index.r yet it can back in console mode: REBOL/View 0.10.34.3.1 25-Sep-2000 Copyright 2000 REBOL Technologies. All rights reserved.
>> read http://members.nbci.com/_XMCM/AndrewMartin/index.r
== {REBOL [Title: "Andrew's Rebol/View stuff."] icon "Dice Roller" http://members.nbci.com/_XMCM/AndrewMartin/Roller.r }
>> system/schemes/http/user-agent
== "Mozilla/4.0 (Compatible; REBOL 0.10.34.3.1)" So there's something wrong now with demo mode code? Or perhaps it's not using the changed http/user-agent? Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/ http://members.xoom.com/AndrewMartin/