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

Info/Warning notifications blocking all tabs #119

Closed
kmurali676 opened this issue Sep 11, 2017 · 4 comments
Closed

Info/Warning notifications blocking all tabs #119

kmurali676 opened this issue Sep 11, 2017 · 4 comments

Comments

@kmurali676
Copy link

  • VSCode Version: 1.16.0
  • OS Version: Mac
  • REST Client Version:0.15.2

Steps to Reproduce:

  1. Call API that returns response header "application/json", but no body
  2. It displays warning: "The content type of response is application/json, while response body is not a valid json string"

Every time when I send a request, it displays info ribbon that block all other tabs. I need to close notification manually every time which is really annoying. Please display notifications in the response view only. Or make notifications optional in the settings so that I can disable them.

Apart from that, I really like the extension and I am using it almost everyday.

Thanks

@Huachao
Copy link
Owner

Huachao commented Sep 12, 2017

@kmurali676 I have add a setting rest-client.suppressResponseBodyContentTypeValidationWarning to suppress such validation warnings. And I will publish this fix in next release

@Huachao Huachao closed this as completed Sep 12, 2017
@kmurali676
Copy link
Author

Thanks much @Huachao. I really appreciate it.

@kmurali676
Copy link
Author

I am looking forward to the next release.

@Huachao
Copy link
Owner

Huachao commented Sep 26, 2017

@kmurali676 you can try the latest version 0.15.3, and you can set the setting rest-client.suppressResponseBodyContentTypeValidationWarning to true to disable the warning

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

No branches or pull requests

2 participants