# 在 oneboxes 中下载 .webp 图片的功能已失效

**URL:** <https://meta.discourse.org/t/downloading-of-webp-images-in-oneboxes-is-broken/141602>\
**Category:** Bug\
**Created:** [2020 年2 月 12 日 08:10 UTC](https://meta.discourse.org/t/downloading-of-webp-images-in-oneboxes-is-broken/141602 "2020-02-12T08:10:55Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

作者： ![jamie.wilson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jamie.wilson/32/185466_2.png) [@jamie.wilson](https://meta.discourse.org/u/jamie.wilson)\
发布日期： [2020 年7 月 6 日 15:51 UTC](https://meta.discourse.org/t/downloading-of-webp-images-in-oneboxes-is-broken/141602/6 "2020-07-06T15:51:07Z")

</div>

在我的 Firefox 版本（MacOS 上的 77.0.1 (64 位)）中，上述 URL 请求的 `Accept` 头为：

```plaintext
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8

```

（即，浏览器请求如果可用则返回 image/webp 格式）

而 Safari 的 `Accept` 头为：

```plaintext
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

```

三星 Web 服务器返回的是 JPEG 格式。Onebox 在 Safari 中显示正确（包含图片）。

---

_[View the full topic](https://meta.discourse.org/t/downloading-of-webp-images-in-oneboxes-is-broken/141602)._
