Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display of response header name is altered when header name and value are case-insensitive matches #709

Closed
gdub opened this issue Nov 5, 2020 · 2 comments

Comments

@gdub
Copy link

gdub commented Nov 5, 2020

  • REST Client Version: 0.24.3
  • VSCode Version: 1.50.1
  • OS Version: Ubuntu 20.04

Steps to Reproduce:

  1. Return a response with header and value that compare as case-insensitive equals, e.g.:
    Server: SerVer
    My-Header: MY-HEADER
    
  2. REST Client mangles the header names in its display of the response:
    SerVer: SerVer
    MY-HEADER: MY-HEADER
    

I would expect the case of the header names to match what came back in the raw response.

@Huachao
Copy link
Owner

Huachao commented Nov 9, 2020

@gdub nice catch, I have fixed the bug and will publish in the next release.

@Huachao Huachao closed this as completed Nov 9, 2020
@Huachao
Copy link
Owner

Huachao commented Nov 9, 2020

@gdub I have published a new version 0.24.4. and you can have a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants