[drakma-devel] puri error during HTTP request
Nicolas Lamirault
lam at tuxfamily.org
Fri Jun 15 19:32:41 UTC 2007
hi,
i make some test with Drakma and the Audioscrobbler API.
for the identification, the protocol is :
http://post.audioscrobbler.com/?hs=true&p=1.2&
c=<client-id>&v=<client-ver>&u=<user>&t=<timestamp>&a=<auth>
with auth : The algorithm for generating this token is as follows:
token := md5(md5(password) + timestamp)
Parse error:URI "http://post.audioscrobbler.com/?hs=true&p=1.2&c=tst&v=1.0&u=lam_&t=2007-06-15 21:29:54&a=
,÷¯*²h|I3ðÈ" contains illegal character #\ at position 77.
[Condition of type PURI:URI-PARSE-ERROR]
Restarts:
0: [ABORT] Return to SLIME's top level.
1: [ABORT] Exit debugger, returning to top level.
Backtrace:
0: (PURI::.PARSE-ERROR
#<unavailable argument>
#<unavailable &REST argument>)
1: (PURI::.PARSE-ERROR #<unavailable argument>)
Locals:
SB-DEBUG::ARG-0 = :<NOT-AVAILABLE>
SB-DEBUG::ARG-1 = :<NOT-AVAILABLE>
2: ((FLET PURI::READ-TOKEN)
#<unavailable argument>
#<unavailable argument>)
3: (PURI::PARSE-URI-STRING #<unavailable argument>)
4: (PURI:PARSE-URI
#<unavailable argument>
:CLASS
#<unavailable argument>)
5: (DRAKMA:HTTP-REQUEST
"http://post.audioscrobbler.com/?hs=true&p=1.2&c=tst&v=1.0&u=lam_&t=2007-06-15 21:29:54&a=
,÷¯*²h|I3ðÈ")
someone have any idea to resolve this problem ?
thanks for any help
--
Nicolas Lamirault
More information about the Drakma-devel
mailing list