Write data for a subitem of this control to a MimeWriter.
(self, mw, name, value)
| 1279 | raise NotImplementedError() |
| 1280 | |
| 1281 | def _write_mime_data(self, mw, name, value): |
| 1282 | """Write data for a subitem of this control to a MimeWriter.""" |
| 1283 | # called by HTMLForm |
| 1284 | mw2 = mw.nextpart() |
| 1285 | mw2.addheader("Content-Disposition", |
| 1286 | 'form-data; name="%s"' % name, 1) |
| 1287 | f = mw2.startbody(prefix=0) |
| 1288 | f.write(value) |
| 1289 | |
| 1290 | def __str__(self): |
| 1291 | raise NotImplementedError() |
no test coverage detected