thunder-client-support
thunder-client-support copied to clipboard
Importing a curl request that uses an unsupported HTTP method silently converts to a GET request
Describe the bug
Importing a CuRL request with meta-U like the following: curl -X PROPFIND http://example.org/test produces a new entry in the extension's side pane which lists PROPFIND as the method, but the request document shows GET and sending request generates a GET request instead of the PROPFIND request expected.
To Reproduce
- Import a CuRL request that uses an HTTP method that Thunder Client does not support like
curl -X PROPFIND http://localhost:1234/ - Newly created request has correct HTTP method in coloured lozenge in side pane.
- Running request issues a GET request and changes the HTTP method in the coloured lozenge to GET
Expected behavior I expected the HTTP method to be the same as in the Curl request.
Platform:
- OS: macOS 12
- vscode version: 1.69.2
- extension version: 1.16.7
Solution:
Thanks @fidothe reporting the issue, will fix asap.
related to https://github.com/rangav/thunder-client-support/issues/674
This feature is now implemented and published to marketplace, please update to v1.17.0
See all features and bugs fixed released https://github.com/rangav/thunder-client-support/releases/tag/v1.17.0
Please let me know your feedback.