| 283 | } |
| 284 | |
| 285 | static void handle_content_transfer_encoding(struct mailinfo *mi, |
| 286 | const struct strbuf *line) |
| 287 | { |
| 288 | if (strcasestr(line->buf, "base64")) |
| 289 | mi->transfer_encoding = TE_BASE64; |
| 290 | else if (strcasestr(line->buf, "quoted-printable")) |
| 291 | mi->transfer_encoding = TE_QP; |
| 292 | else |
| 293 | mi->transfer_encoding = TE_DONTCARE; |
| 294 | } |
| 295 | |
| 296 | static int is_multipart_boundary(struct mailinfo *mi, const struct strbuf *line) |
| 297 | { |