oh yea ..
you would also want a

page: copy port

before you close the port ...=20

On 6/27/05, Tom Conlin <[EMAIL PROTECTED]> wrote:
> sorry bout that ... I'll write it somewhere  more tolerant of my
> typing abilities..
> ( untested )
>=20
> base-url: "over-there.com"
> path-info: "/some/interesting.html"
> referer-url: http://sure.I.was.there/honest.html
>=20
> request-header: ["GET http://"; base-url path-info " HTTP/1.0^/"]
>     "Referer: " referer-url "^/"
>     "Accept: text/html^/"
> ;... other headers as needed
>=20
>     "^/^/" ;need to end header with two newline (CRLF CRLF)
> ]
>=20
> port: open [
>     scheme: 'tcp
>     host: base-url
>     port-id: 80
> ;... other port parameters as needed
> ]
>=20
> insert port rejoin request-header
>=20
> close port
>=20
>=20
>=20
>=20
>=20
> 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.
> >
> > something like
> >
> >  port: open [ scheme: TCP
> >      host: wherever.com
> >
> >
> >
> >
> > 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 th=
e
> > > User-Agent.
> > >
> > > -Bruno
> > >
> > >
> > > --
> > > To unsubscribe from the list, just send an email to
> > > lists at rebol.com with unsubscribe as the subject.
> > >
> > >
> >
> >
> > --
> >    ... nice weather   eh
> >
>=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.

Reply via email to