[plt-scheme] Send session cookie via get-pure-port
Hi,
I want to download the contents of a certain news article using
get-pure-port. I know the exact URL of the article. The site requires a
session cookie to grant access to article. After registering and logging
in manually via browser I have determined the name and the value of the
current session cookie.
Now I figure that all I have to do is call get-pure-port according to
(get-pure-port URL [header]) and pass along the cookie using the
optional header parameter. What I can't figure out, though, is how to
put together the header such that the server accepts the cookie and
grants access to the article.
Any help would be appreciated.
Regards,
Ralf Seliger