(self)
| 161 | # Internal: get a response plus following text from the server. |
| 162 | |
| 163 | def _getlongresp(self): |
| 164 | resp = self._getresp() |
| 165 | list = []; octets = 0 |
| 166 | line, o = self._getline() |
| 167 | while line != b'.': |
| 168 | if line.startswith(b'..'): |
| 169 | o = o-1 |
| 170 | line = line[1:] |
| 171 | octets = octets + o |
| 172 | list.append(line) |
| 173 | line, o = self._getline() |
| 174 | return resp, list, octets |
| 175 | |
| 176 | |
| 177 | # Internal: send a command and get the response |
no test coverage detected