Here is a complete discussion on the character set of cookie name (for python development):<br><a href="http://bugs.python.org/issue2193">http://bugs.python.org/issue2193</a><br><br>I think <i><b>drakma </b></i>should follow python's work.<br>
<br>In file "util.lisp" of <i><b>drakma</b></i>, function <i><b>split-set-cookie-string</b></i> splits cookie string using function<i> <b>is-valid-cookiename-char</b></i> which comes from <i><b>chunga</b></i>.<br>
But function<i> <b>is-valid-cookiename-char </b></i>just follow <b>RFC2616</b> which rules that chars of cookie name are legal when they are in<i><b> token set </b></i>( see bellow)<i><b>.</b><b><br></b></i><pre> token = 1*<any CHAR except CTLs or separators>
separators = "(" | ")" | "<" | ">" | "@"
| "," | ";" | ":" | "\" | <">
| "/" | "[" | "]" | "?" | "="
| "{" | "}" | SP | HT</pre><i><b> <br></b></i>That is not practical!<i><b><br><br></b></i>In python, letters, digits and "!#$%&'*+-.^_`|~:"<i><span class="plusline">
</span><a href="http://hg.python.org/cpython/rev/8cae3ee7f691#l1.15" id="l1.15"></a><span class="plusline"> </span></i><span class="plusline">are legal in Cookie name</span>.