[plt-scheme] http authentication?

From: MJ Ray (markj at cloaked.freeserve.co.uk)
Date: Wed Dec 11 15:20:55 EST 2002

On 2002-12-11 11:05:25 -0500 Paul Graunke <ptg at ccs.neu.edu> wrote:

> get-pure-port accepts a list of optional http headers to send with 
> the request.
>    (list (format "authorization: Basic ~a" (base64-encode 
> "bubba:bbq"))
> should authorize bubba to download the secret receipe for life (in 
> Texas).

Yes, sure, I never said that it was difficult, but it should be 
possible to make this easy to use.  Already, at least two people did 
not guess this recipe.  Maybe it should support the FTP-like but 
non-RFC http://mjr:test@pipe/test (probably not a good choice) or 
maybe it should look for any authentication data at the head of the 
list of headers.  Anyone have a preference, or am I just ranting and 
everyone who dismissed the module because it didn't have an obvious 
way to do this common task is a bozo?

-- 
MJR|                                                                  v
---|--[ Something else will appear here eventually, I guess...  ]-----|
   `--[ http://mjr.towers.org.uk/ ]---------[ slef at jabber.at ]-----'



Posted on the users mailing list.