Hey,
Thanks for your reply! The json data should never be too long so I'm not
worried about the memory usage, I need the whole json object to start
working anyway realistically - I was more concerned about blocking reading
the data from the network - specifically the request.content.read(), if
Laurens,
You don't have to do it from in there. You can do
.addErrback(handleErrors, request), since it's all the same request object,
right?
Aaargh! I see the problem now. I wrote everything as part of the Protocol
class (DD - DeferredsDictionaries), when I should have extracted request
On 2013-09-04 16:43, Goffi wrote:
G'day,
in the method elements of twisted.words.xish.domish.Element, the
function generateElementsQNamed is called event if the uri if None, so
the uri is checked against None instead of not checked at all.
I think the function generateElementsNamed should
On 08:50 am, poal...@gmail.com wrote:
Hey,
Thanks for your reply! The json data should never be too long so I'm
not
worried about the memory usage, I need the whole json object to start
working anyway realistically - I was more concerned about blocking
reading
the data from the network -
On Thu, Sep 5, 2013 at 12:00 PM, Maciej Wasilak wasi...@gmail.com wrote:
Laurens,
You don't have to do it from in there. You can do
.addErrback(handleErrors, request), since it's all the same request object,
right?
Aaargh! I see the problem now. I wrote everything as part of the
Ah awesome that clears it up, thanks! I've never had to deal with HTTP
requests with content bodies before.
I presumed that the .read() would be pulling bytes from the network. I
presumed wrong :)
Thanks!
Paul
On 5 September 2013 12:24, exar...@twistedmatrix.com wrote:
On 08:50 am,
I am writing a simple ftp client which I am trying to dispose of. Right now
I send a quit command:
(the ftp_client reference is a FTPClient built with a ClientCreator)
deferred = ftp_client.quit()
And I register a callback:
def quitSent(response):
print quit acknowledged...connected?,
On 06:48 pm, pe...@peterryan.net wrote:
Thanks.
So is the idiomatic approach for this with something like the FTPClient
to
subclass it and override connectionLost? FTPClientBasic clears up
queued
commands when this happens (which I assume I still want it to do).
Is it idiomatic? I don't