[REBOL] set-net question. No, TWO questions
From: hallvard::ystad::helpinhand::com at: 29-Oct-2001 15:15
Inside the 'open func in system/schemes/http/handler I find the following:
HTTP-Get-Header: make object! [
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 rebol.com, and came across
http://www.rebol.com/library/html/http-post.html, but I find it too
complicated. I can do a post operation by simply reducing ['post
] in a read/custom. How do I change the http-accept header in
the same simple manner?
Oh, and this (as a PS):
When I do set-net [[hallvard--ystad--helpinhand--com] "helpinhand.com"
"220.127.116.11" 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] "helpinhand.com"
"18.104.22.168" 3128 'generic]
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?