usebruno/bruno
在 GitHub 查看Bruno is altering response headers to lowercase when they shouldn't be
Open
#2,012 创建于 2024年4月4日
documentationenhancementgood first issuemid-term-goalmodule-response
描述
Issue
It appears that Bruno lowercases header names, even if the server is not sending it back that way. This could potentially break tests that are relying on testing for a header by name where the case does not match.
Steps to reproduce issue
Attempt a curl to a server and look at the headers. In my case, I will be looking for the 'Server' header on crapi.apisec.ai.
Notice how "Server" starts with a capital S.
Now do the same request in Bruno.
Notice how everything is now lowercase.
Expected behavior
The case should be preserved so existing tests that are looking for the case can continue to pass.