Skip to content
代码片段 群组 项目
提交 02eb4ffe 编辑于 作者: Jacob Vosmaer's avatar Jacob Vosmaer
浏览文件

Merge branch '76-only-one-content-type-header-in-archive' into 'master'

Avoid setting multiple values for certain headers

Content-Type, Content-Disposition and other headers were being given multiple values in some workhorse responses, causes problems with, e.g., archive downloads.

This MR refactors the tests somewhat, and replaces calls to `Header().Add()` with `Header().Set()` where appropriate.

Closes #76

See merge request !84
No related branches found
No related tags found
无相关合并请求
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册