# 下载时遇到500错误

**URL:** <https://www.shiqidu.com/t/topic/371>\
**Category:** 开发调优\
**Tags:** PHP\
**Created:** [2018 年2 月 10 日 02:54 UTC](https://www.shiqidu.com/t/topic/371 "2018-02-10T02:54:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

作者： ![dajiang](https://www.shiqidu.com/user_avatar/www.shiqidu.com/dajiang/32/468_2.png) [@dajiang](https://www.shiqidu.com/u/dajiang)\
发布日期： [2018 年2 月 10 日 02:54 UTC](https://www.shiqidu.com/t/topic/371/1 "2018-02-10T02:54:21Z")

</div>

下载Excel时遇到500错误header(‘Content-Type : application/vnd.ms-excel’);，排查原因是header头中多余空格

---

<div class="post-metadata">

作者： ![Leon](https://www.shiqidu.com/user_avatar/www.shiqidu.com/leon/32/5_2.png) [@Leon](https://www.shiqidu.com/u/Leon)\
发布日期： [2018 年2 月 10 日 04:55 UTC](https://www.shiqidu.com/t/topic/371/2 "2018-02-10T04:55:51Z")

</div>

还没放假吗？
