vscode-restclient icon indicating copy to clipboard operation
vscode-restclient copied to clipboard

Headers after a blank line are highlighted as HTTP headers but parsed as HTTP body

Open MaximeKjaer opened this issue 2 years ago • 0 comments

  • REST Client Version: v0.24.6
  • VSCode Version: 1,67.2
  • OS Version: Windows 10

Steps to Reproduce:

The following are highlighted the same way, but not parsed the same way.

  1. Authorization is correctly highlighted as an HTTP header:

    GET https://example.com/
    Authorization: Bearer {{token}}
    
  2. Authorization is still highlighted as an HTTP header, but is parsed as an HTTP body:

    GET https://example.com/
    
    Authorization: Bearer {{token}}
    

Screenshot:

image

MaximeKjaer avatar Jun 01 '22 23:06 MaximeKjaer