提交 f091bd67 编写于 作者: M MQuy

Remove unnecessary condition in content_type

上级 40b1f648
......@@ -922,7 +922,7 @@ def collect_responses(headers)
def collect_responses_from_text(headers)
[{
body: headers.delete(:body),
content_type: headers[:content_type] || self.class.default[:content_type] || "text/plain"
content_type: headers[:content_type] || "text/plain"
}]
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册