Hi there,

On 6/21/07, Yves <[EMAIL PROTECTED]> wrote:
>
> I have a situation where I am sending data with doXHR and method post
> where I don't necessarily expect to get any data back.
>
> Does this mean I have to cancel the deferred somehow? If I don't will
> I get a load of deferreds sitting around eating memory? Or do they get
> garbage collected after a while?

If the server sends back a status (like 200 OK) - you should get a
callback even if the body is empty.

If the server doesn't send back anything that would probably show up
as a timeout error (not sure) and if you have any errbacks installed
they should get called.

If possible, I'd make sure that the server sends a response even if
its just some status code - just to acknowledge that it got the
request.

Arnar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" 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/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to