Created
October 27, 2008 08:12
-
-
Save nex3/20045 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun gist-make-query-string (params) | |
"Returns a query string constructed from PARAMS, which should be | |
a list with elements of the form (KEY . VALUE). KEY and VALUE | |
should both be strings." | |
(mapconcat | |
(lambda (param) | |
(concat (url-hexify-string (car param)) "=" | |
(url-hexify-string (cdr param)))) | |
params "&")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment