[REBOL] Re: Custom HTTP header
From: gregg:pointillistic at: 24-Oct-2010 11:04
S> read/custom http://192.168.1.100:8080 append/only [header] custom-header
If you're code is in a function, you'll want to include a COPY in
there, use JOIN, or something else.
read/custom http://192.168.1.100:8080 append/only copy [header] custom-header
read/custom http://192.168.1.100:8080 join [header] [custom-header]
read/custom http://192.168.1.100:8080 rejoin [[header] custom-header]
; Thanks to Ladislav for reminding me about REJOIN with an initial
block arg.
hdr: [header []]
hdr/header: custom-header
read/custom http://192.168.1.100:8080 hdr
-- Gregg