Brian Connoy | 12 Jun 21:18 2012

Re: NTLM auth headers?

Sorry to resurrect an old thread, Carlos.

 

 

On Wed, Oct 14, 2009 at 12:04 AM, Carlos Konstanski

<ckonstan... <at> pippiandcarlos.com> wrote:

> Is there any way to get drakma to write an NTLM auth header? I am

> unfortunately trying to communicate with a .NET web service in an

> Active Directory environment.

>

 

> If not, I suppose I could use Ã`additional-headers' to write one

> myself.

 

 

Were you successful in rolling your own headers?   I’m stuck at the moment, figuring what needs to be done.

 

Thanks,

Brian C.

 

_______________________________________________
drakma-devel mailing list
drakma-devel <at> common-lisp.net
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel
lookwong | 28 Jun 09:22 2012
Picon

about character set of cookie name

Here is a complete discussion on the character set of cookie name  (for python development):
http://bugs.python.org/issue2193

I think drakma should follow python's work.

In file "util.lisp" of drakma, function split-set-cookie-string  splits cookie string using function is-valid-cookiename-char which comes from chunga.
But function is-valid-cookiename-char just follow RFC2616 which  rules that chars of cookie name are legal when they are in token set ( see bellow).

token = 1*<any CHAR except CTLs or separators> separators = "(" | ")" | "<" | ">" | " <at> " | "," | ";" | ":" | "\" | <"> | "/" | "[" | "]" | "?" | "=" | "{" | "}" | SP | HT 
That is not practical!

In python, letters, digits and "!#$%&'*+-.^_`|~:"   are legal in Cookie name.
_______________________________________________
drakma-devel mailing list
drakma-devel <at> common-lisp.net
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel

Gmane