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