Thanks much. After some wiresharking, I found that google doesn't like the drakma user-agent and changing it to firefox did the trick.<br><br><div class="gmail_quote">On Sat, Mar 10, 2012 at 2:46 AM, Edi Weitz <span dir="ltr"><<a href="mailto:edi@agharta.de">edi@agharta.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You are not allowed to send arbitrary characters in the request line.<br>
FWIW, I just tried your example with Firefox and this is what the<br>
browser sends according to LiveHttpHeaders:<br>
<br>
  <a href="http://translate.google.com/translate_tts?tl=ru&q=%D0%B2%D1%8B" target="_blank">http://translate.google.com/translate_tts?tl=ru&q=%D0%B2%D1%8B</a><br>
<br>
And Google returns the requested audio file.<br>
<br>
Edi.<br>
<div><div class="h5"><br>
On Sat, Mar 10, 2012 at 1:08 AM, William Halliburton<br>
<<a href="mailto:whalliburton@gmail.com">whalliburton@gmail.com</a>> wrote:<br>
><br>
> Hello folks,<br>
><br>
> I'm trying to use drakma to fetch urls that contain utf8 characters but<br>
> HTTP-REQUEST automatically url encodes any non latin-1 ascii characters.<br>
><br>
> On my cursory reading of the RFCs, this seems conforming behavor, but in<br>
> this case it is definitely unwanted.<br>
><br>
> For example, the following url<br>
><br>
>   <a href="http://translate.google.com/translate_tts?tl=ru&q=%D0%B2%D1%8B" target="_blank">http://translate.google.com/translate_tts?tl=ru&q=вы</a><br>
><br>
> if entered directly into the browser correctly returns the text-to-speech<br>
> audo file but<br>
><br>
> when attempting to use HTTP-REQUEST, the url is being url encoded into<br>
><br>
>   <a href="http://translate.google.com/translate_tts?tl=ru&q=%D0%B2%D1%8B" target="_blank">http://translate.google.com/translate_tts?tl=ru&q=%D0%B2%D1%8B</a><br>
><br>
> of which google does not url-decode and fails to return the correct data.<br>
><br>
> So, for this case, the url-encoding is unwanted.<br>
><br>
> I am willing to submit patch an additional argument into HTTP-REQUEST to<br>
> disallow the encoding.<br>
><br>
> Thoughts?<br>
><br>
> Thank you,<br>
> William<br>
><br>
</div></div>> _______________________________________________<br>
> drakma-devel mailing list<br>
> <a href="mailto:drakma-devel@common-lisp.net">drakma-devel@common-lisp.net</a><br>
> <a href="http://lists.common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel" target="_blank">http://lists.common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel</a><br>
><br>
<br>
_______________________________________________<br>
drakma-devel mailing list<br>
<a href="mailto:drakma-devel@common-lisp.net">drakma-devel@common-lisp.net</a><br>
<a href="http://lists.common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel" target="_blank">http://lists.common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel</a><br>
</blockquote></div><br>