(self,fields)
| 213 | # of the hash is assumed to be already url encoded or just a plain |
| 214 | # string without special chars). |
| 215 | def urlencode(self,fields): |
| 216 | return "&".join([str(key)+"="+self.quote(value) for key,value in fields.items()]) |
| 217 | |
| 218 | # Create a POST request with url-encoded parameters in the body. |
| 219 | # Parameters are passed as a hash in 'fields'. |
no test coverage detected