I wish I could provide the test case but in this case I log on to the server, it gives the the secure token which I use later to do the file upload. I call the http-request with :method :post, :form-data t, :content-length t. The rest are parameters to the POST.
<br>Anyway, I'll keep an eye on it and when I can I'll provide the test case.<br><br>Andrew<br><br><div><span class="gmail_quote">On 4/10/07, <b class="gmail_sendername">Edi Weitz</b> <<a href="mailto:edi@agharta.de">
edi@agharta.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Mon, 9 Apr 2007 20:14:01 -0400, "Andrei Stebakov" <
<a href="mailto:lispercat@gmail.com">lispercat@gmail.com</a>> wrote:<br><br>> I am using SBCL 1.04. I've just upgraded to latest hunchentoot,<br>> drakma etc... It happens when I upload a file using POST<br>
> request. Most of the times the http-request just works and returns<br>> the result which I parse and it's meaningful. Occasionally (1 out of<br>> 10 times) the http-request returns nil. To verify it, I tested it
<br>> not from the web, but from the slime propt. It it took me a while to<br>> understand why my web app was misbehaving sometimes.<br>> For now I put a workaround like<br>> (loop for i from 0 to 5 while (not http-request-result) do
<br>> (setq http-request-result (drakma:http-request ....))<br>> which works.<br>> I'd like to know if it's an expected behavior of the http request<br><br>Of course not.<br><br>> or is there something I/we could do to fix it?
<br><br>I'd need a reproducible test case to say more about it.<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://common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel">http://common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel</a><br></blockquote></div><br>