usebruno/bruno
View on GitHubBruno is altering response headers to lowercase when they shouldn't be
Open
#2012 opened on Apr 4, 2024
documentationenhancementgood first issuemid-term-goalmodule-response
Description
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.