Hi Bruno,

On Monday, June 27, 2005, 6:23:28 PM, you wrote:

BGA> Is there a way to generally change the header that is sent in an HTTP
BGA> request? Specifically, is there any way to add/change the "Referer"
BGA> header? I have this page that I need to get that will only be sent if
BGA> the referer matches a specific URL. I did browse the HTTP scheme but
BGA> didn't notice anything obvious there. I only saw a field to change the
BGA> User-Agent.

If  you  are  doing a POST, add a block after the post data in the
custom block:

    [POST "some data" [Referer: "whatever"]]

you can include any header and override the ones REBOL provides by
default.

If you are doing a GET, use a custom block:

    [header [Referer: "whatever"]]

and so on.

Regards,
   Gabriele.
-- 
Gabriele Santilli <[EMAIL PROTECTED]>  --  REBOL Programmer
Amiga Group Italia sez. L'Aquila  ---   SOON: http://www.rebol.it/

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to