On Feb 27, 4:02 pm, Andrei Stebakov <[email protected]> wrote: > When return binary data directly from the handler everything works fine. > The problem now is when I try to upload an image to some site using > drakma:http-request, one of the arguments to the http-request (post > request) I supply a closure which is a function of one argument > (stream) which sends data to that stream.
Can you be a bit more specific here? I'm not sure where you're passing a closure to what. > The problem is that when I upload an image this way, the receiving > server also gets corrupted data. > I think we need to fix this problem. Definitely. > Using (send-headers) is a clean way to reproduce the problem in Weblocks. > Does it only happen on my system, or someone can reproduce it as well? I'll check this later. For now: What version of Hunchentoot are you using (so we're on the same page)? How does your handler get called? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "weblocks" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/weblocks?hl=en -~----------~----~----~----~------~----~------~--~---
