From 6f2bd80e7f9e6f4c8945b9f64523262e912d1848 Mon Sep 17 00:00:00 2001 From: "Riccardo (C10uD)" Date: Tue, 10 May 2011 10:20:52 +0200 Subject: Prevent strange server errors with http requests (see emesene#516). Thanks ammarabdulsalam --- papyon/gnet/protocol/HTTP.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/papyon/gnet/protocol/HTTP.py b/papyon/gnet/protocol/HTTP.py index 592ba6b..0628d34 100644 --- a/papyon/gnet/protocol/HTTP.py +++ b/papyon/gnet/protocol/HTTP.py @@ -115,8 +115,8 @@ class HTTP(gobject.GObject): self._setup_transport() def _on_request_sent(self, transport, request, length): - assert(str(self._outgoing_queue[0]) == request) self._waiting_response = True + assert(str(self._outgoing_queue[0]) == request) self.emit("request-sent", self._outgoing_queue[0]) def _on_response_received(self, parser, response): -- cgit v1.2.3