(self, subtype, boundary=None, plist=[], prefix=1,
add_to_http_hdrs=0, content_type=1)
| 421 | return self._fp |
| 422 | |
| 423 | def startmultipartbody(self, subtype, boundary=None, plist=[], prefix=1, |
| 424 | add_to_http_hdrs=0, content_type=1): |
| 425 | boundary = boundary or choose_boundary() |
| 426 | self._boundary.append(boundary) |
| 427 | return self.startbody("multipart/" + subtype, |
| 428 | [("boundary", boundary)] + plist, |
| 429 | prefix=prefix, |
| 430 | add_to_http_hdrs=add_to_http_hdrs, |
| 431 | content_type=content_type) |
| 432 | |
| 433 | def nextpart(self): |
| 434 | boundary = self._boundary[-1] |
no test coverage detected