跳到主要内容
uencoder

解析 a multipart MIME message and extract each part

Break multipart/form-数据或 multipart/mixed MIME 消息为 其 constituent headers 和 bodies 为 inspection 或 reprocessing.

  1. 1

    Multipart MIME bundles several parts (文本, attachments, form fields) separated 通过边界字符串. 每个部分有 其 own headers 和主体. Parsing requires splitting 开边界和 解码每个部分's Content-Transfer-Encoding.

  2. 2
    MIME 解码器 →

    Paste 完整 multipart 消息. tool splits 开边界, extracts 每个部分's headers 和主体, 和 applies 传输编码 (base64, quoted-printable, 7bit).

  3. 3
    MIME 类型参考 →

    Look 上 Content-Type 的每个 extracted 部分到 理解如何渲染或 保存它 (e.g. 图像/jpeg → 保存 as 二进制, 文本/plain → display).

  4. 4
    Base64 解码器 →

    如果部分's 主体是 仍然 Base64 之后 MIME 解码 (nested 编码), 解码它 这里到 recover 原始 bytes.

常见问题

Where I 查找边界字符串?
它是 declared 在顶部-级别 Content-Type 头 as 边界="...". actual separators 在主体是 prefixed 具有 two dashes (--边界), 和最终 separator 是 followed 通过 two dashes.
为什么是 一些 parts 空?
Multipart/form-数据经常 includes 空 parts 为 unset form fields, 或 leading/trailing 空段 从边界拆分. Filter parts 具有空 bodies 之后 parsing.

解决此任务的工作流

相关工具