[drakma-devel] utf-8 question

Ross Jekel ross at sourcelabs.com
Sat Sep 29 16:21:50 UTC 2007


>Do you get the same result with the URL above?  (I'll leave it online
>for testing purposes.)  And can you send the headers sent back and
>forth between Drakma and the server to the mailing list?  How does
>your HTTP-REQUEST call look like?

Thanks for your help, Eli. Here's what I get. I'll try to debug this as well a bit later today.

cg-user(10): (setf drakma:*header-stream* *standard-output*)
#<listener-pane :listener-pane in IDE GUI @ #x71eded8a>
cg-user(11): (drakma:http-request "http://zappa.agharta.de/test.xml")
GET /test.xml HTTP/1.1
Host: zappa.agharta.de
User-Agent: Drakma/0.10.1 (International Allegro CL Enterprise Edition 8.1 [Linux (x86)] (Sep 24, 2007 12:17); Linux (x86), glibc 2.3; Linux Xubuntu 2.6.17-12-generic #2 SMP Wed Aug 29 20:08:20 UTC 2007 i686 GNU/Linux; http://weitz.de/drakma/)
Accept: */*
Connection: close

HTTP/1.1 200 OK
Date: Sat, 29 Sep 2007 16:17:58 GMT
Server: Apache
Connection: close
Transfer-Encoding: chunked
Content-Type: text/xml; charset=utf-8

#(50 101 32 13 10 60 104 116 109 108 ...)
200
((:DATE . "Sat, 29 Sep 2007 16:17:58 GMT") (:SERVER . "Apache") (:CONNECTION . "close")
 (:TRANSFER-ENCODING . "chunked") (:CONTENT-TYPE . "text/xml; charset=utf-8"))
#<puri:uri http://zappa.agharta.de/test.xml>
#<flexi-streams::flexi-latin-1-io-stream @ #x721f5362>
t
"OK"
cg-user(12): 






More information about the Drakma-devel mailing list