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

[REBOL] Morpheus (was: set-net question. No, TWO questions)

From: hallvard::ystad::helpinhand::com at: 30-Oct-2001 8:40

Morpheus thing looks like good news! But it kind of prevented any answers to my questions. I repost, in the hope that someone knows the answers. And the two have become three... Hallvard Ystad skrev (Monday 29.10.2001, kl. 15.15):
>Inside the 'open func in system/schemes/http/handler I find the following: > HTTP-Get-Header: make object! [ > Accept: "*/*" > Connection: "close" > User-Agent: system/schemes/http/user-agent > Host: join port/host any [all [port/port-id (port/port-id > <> 80) join #":" port/port-id] #] > ] > >How do I change the http-accept header with 'read? I tried read/custom but >didn't manage. I searched, and came across >, but I find it too >complicated. I can do a post operation by simply reducing ['post >"key=value"] in a read/custom. How do I change the http-accept header in >the same simple manner? > >~H > >Oh, and this (as a PS): >When I do set-net [[hallvard--ystad--helpinhand--com] "" >"" "" 3128 'generic], are >system/schemes/http/proxy/host, [...]/port-id and [...]/type supposed to >be updated, or are they simply ignored? > >> set-net [[hallvard--ystad--helpinhand--com] "" > "" "" 3128 'generic] > >> system/schemes/http/proxy/port-id >== none >Will not the "none" setting override the setting I did with set-net? And >if not, how do I override it with a 'none value?
And here's the third: should "generic" be a lit-word or a word in the set-net func? Either way seems to do no difference. How can I know rebol is actually using my proxy? ~H