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

Host header #10

Closed
tarmo888 opened this issue Jul 8, 2016 · 2 comments
Closed

Host header #10

tarmo888 opened this issue Jul 8, 2016 · 2 comments
Labels

Comments

@tarmo888
Copy link

tarmo888 commented Jul 8, 2016

  • VSCode Version: 1.3.0
  • OS Version: Windows 10.0.10586
GET /api/v1/chat HTTP/1.1
Host: localhost:8084
Content-Type: application/x-www-form-urlencoded

Steps to Reproduce:

  1. Do "Copy request headers" on some call in Chrome Network tab
  2. Paste it to VSCode
  3. Run REST Client
    Result: Invalid URI "/api/v1/chat

Alternative Steps:

  1. Copy Generated HTTP code from Chrome Postman extension
  2. Paste it to VSCode
  3. Run REST Client
    Result: Invalid URI "/api/v1/chat

Expected result: Expected it to take the Host from headers if the path is absolute.

@Huachao Huachao added the bug label Jul 8, 2016
@Huachao
Copy link
Owner

Huachao commented Jul 8, 2016

@tarmo888 nice catching, I will fix it ASAP. Or if you have interest, you could contribute to this extension , and that's warm welcomed 😃

@Huachao
Copy link
Owner

Huachao commented Jul 19, 2016

@tarmo888 @vitaliy-komenda the bug as been fixed, and you can try latest version 0.5.5 😅

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

No branches or pull requests

2 participants