mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
3fec63f0a4
commit
37eaea831b
@ -250,7 +250,10 @@ class HTTPRequest(Connection):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def state_description(self):
|
def state_description(self):
|
||||||
return 'State: %s Request: %s' % (getattr(self.handle_event, '__name__', None), force_unicode(self.request_line, 'utf-8'))
|
return 'State: %s Client: %s:%s Request: %s' % (
|
||||||
|
getattr(self.handle_event, '__name__', None),
|
||||||
|
self.remote_addr, self.remote_port,
|
||||||
|
force_unicode(self.request_line, 'utf-8'))
|
||||||
|
|
||||||
def parse_header_line(self, parser, buf, event):
|
def parse_header_line(self, parser, buf, event):
|
||||||
line = self.readline(buf)
|
line = self.readline(buf)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user