diff --git a/cookies.py b/cookies.py
index <HASH>..<HASH> 100644
--- a/cookies.py
+++ b/cookies.py
@@ -2,7 +2,7 @@
 

 "cookies.py"

 

-import os, copy

+import os, copy, urllib

 import itertools

 import string, re

 

@@ -66,7 +66,7 @@ class cookie( dict ):
 

 	def getRequestHeader( self ):

 		"returns the cookie as can be used in an HTTP Request"

-		return '='.join( ( self['name'], self['value'] ) )

+		return '='.join( ( self['name'], urllib.quote( self['value'] ) ) )

 

 	def isSecure( self ):

 		return eval( string.capwords( self.get( 'secure', 'False' ) ) )
\ No newline at end of file
Apparently, cookies are supposed to be quoted strings.  In the past, this wasn't an issue, but when I started generating strings with spaces and other characters in them, they need to be quoted.

Does this mean I should unquote the cookies when they come in?