Lines Matching refs:response
51 # In the modern world (eg: gmail) the response to, for example, a
116 # We no longer exclude the ']' character from the data portion of the response
119 # produce them. The problem with this is if the 'text' portion of the response
120 # includes a ']' we'll parse the response wrong (which is the point of the RFC
162 tagged response, or untagged results from command. Each 'data'
164 is the header of the response, and the second part contains
192 self.tagged_commands = {} # Tagged commands awaiting response
194 self.continuation_response = '' # Last continuation response
229 # and compile tagged response matcher.
237 # request and store CAPABILITY response.
376 typ, dat = self.noop() # Prod server for response
380 def response(self, code):
381 """Return data for response 'code' if received, or None.
383 Old value for response 'code' is cleared.
385 (code, [data]) = <instance>.response(code)
421 """Authenticate command - requires response processing.
429 data = authobject(response)
432 response argument it is passed will be a bytes. It should return bytes
434 return None if the client abort response '*' should be sent instead.
526 Generates 'EXPUNGE' response for each deleted message.
639 Returns server 'BYE' response.
745 'data' is count of messages in mailbox ('EXISTS' response).
748 other responses should be obtained via <instance>.response('FLAGS') etc.
879 Returns response appropriate to 'command'.
924 notified by server in CAPABILITY response.
930 Returns response appropriate to extension command `name'.
1014 # Wait for continuation response
1062 raise self.error('no CAPABILITY response from server')
1070 # Read response and store.
1073 # otherwise first response line received.
1077 # Command completion response?
1082 raise self.abort('unexpected tagged response: %r' % resp)
1098 # Only other possibility is '+' (continuation) response...
1104 raise self.abort("unexpected response: %r" % resp)
1109 if dat is None: dat = b'' # Null untagged response
1124 # Store response with literal as tuple
1134 # Bracketed response information?
1143 self._mesg('%s response: %r' % (typ, dat))
1167 # Some have reported "unexpected response" exceptions.
1169 # Instead, send me details of the unexpected response and
1495 """Convert IMAP4 flags response to python tuple."""
1593 ('response',('UIDVALIDITY',)),
1595 ('response', ('EXISTS',)),