Hi, <br><br>...I'm kind of a newbie, so please forgive me if I make stupid questions.<br>I've been using drakma to request html pages and everything seems to work fine.<br><br>I'm now using drakma to make a request to the new youtube json api, and I get chunked content:<br>
<br>(http-request "<a href="http://gdata.youtube.com/feeds/api/videos/-/Music/?max-results=10&vq=bush&alt=json&format=5">http://gdata.youtube.com/feeds/api/videos/-/Music/?max-results=10&vq=bush&alt=json&format=5</a>")<br>
<br>...chunked content...<br><br>((:CONTENT-TYPE . "application/json; charset=UTF-8")<br> (:CACHE-CONTROL . "max-age=0, must-revalidate, no-transform, private")<br> (:GDATA-VERSION . "1.0") (:LAST-MODIFIED . "Thu, 05 Jun 2008 00:20:27 GMT")<br>
(:TRANSFER-ENCODING . "chunked") (:DATE . "Thu, 05 Jun 2008 00:20:27 GMT")<br> (:SERVER . "GFE/1.3") (:CONNECTION . "Close"))<br>#<PURI:URI <a href="http://gdata.youtube.com/feeds/api/videos/-/Music/?max-results=10&vq=bush&alt=json&format=5">http://gdata.youtube.com/feeds/api/videos/-/Music/?max-results=10&vq=bush&alt=json&format=5</a>><br>
#<FLEXI-STREAMS:FLEXI-IO-STREAM {B90E249}><br><br>The thing is that I need it to be a string in order to decode to json format using the cl-json lisp package.<br>I tried changing the external-output parameter without any good results.<br>
<br>Do you have some advice on how I could serialize this content?<br><br>Thanks at advanced!<br><br>Your library is great!<br><br>Nico.<br clear="all"><br>-- <br>I would never die for my beliefs because I might be wrong.<br>
<br>Bertrand Russell