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 還沒有評估資料。