Codeception / Codeception/module-phpbrowser
Content-Type default should be configurable
未关闭
- 主要语言
- PHP
- 星标
- 66
- 派生
- 16
- PR 合并指标
- 30 天内没有已合并 PR
描述
Method createResponse() sets the Content-Type to text/html when not present in response.
Content-Type is not a required header, so this module should be able to test it's absence with `->dontSeeHttpHeader("Content-Type")`.
I would suggest to introduce an option like 'defaultContentType' which defaults to the current 'text/html' but can be set to null.
Code link:
https://github.com/Codeception/module-phpbrowser/blob/master/src/Codeception/Lib/Connector/Guzzle.php#L103
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。