Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,在将图片编码为 MIME base64 字符串时,是否有一种标准方法也可以包含其文件名,或者至少包含建议的文件名?
Content-Disposition: attachment; filename="picture.jpg". 标Content-Type头也可以包含name=属性,但不建议这样做。
Content-Disposition: attachment; filename="picture.jpg"
Content-Type
name=
我假设使用电子邮件,但 IIRC 也适用于 HTTP。