sorry bout that ... I'll write it somewhere more tolerant of my typing abilities.. ( untested )
base-url: "over-there.com" path-info: "/some/interesting.html" referer-url: http://sure.I.was.there/honest.html request-header: ["GET http://" base-url path-info " HTTP/1.0^/"] "Referer: " referer-url "^/" "Accept: text/html^/" ;... other headers as needed "^/^/" ;need to end header with two newline (CRLF CRLF) ] port: open [ scheme: 'tcp host: base-url port-id: 80 ;... other port parameters as needed ] insert port rejoin request-header close port On 6/27/05, Tom Conlin <[EMAIL PROTECTED]> wrote: > do not know if you can do that with the ...user friendly http interface > but you can do whatever you want at the port level. >=20 > something like >=20 > port: open [ scheme: TCP > host: wherever.com >=20 >=20 >=20 >=20 > On 6/27/05, Bruno G. Albuquerque <[EMAIL PROTECTED]> wrote: > > > > Hello. > > > > Is there a way to generally change the header that is sent in an HTTP > > request? Specifically, is there any way to add/change the "Referer" > > header? I have this page that I need to get that will only be sent if > > the referer matches a specific URL. I did browse the HTTP scheme but > > didn't notice anything obvious there. I only saw a field to change the > > User-Agent. > > > > -Bruno > > > > > > -- > > To unsubscribe from the list, just send an email to > > lists at rebol.com with unsubscribe as the subject. > > > > >=20 >=20 > -- > ... nice weather eh >=20 --=20 ... nice weather eh -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
