Skip to content

Use url.toString method from postman-collections rather than doing it manually in shell-httpie.#389

Merged
umeshp7 merged 2 commits intodevelopfrom
issue-330
Oct 28, 2020
Merged

Use url.toString method from postman-collections rather than doing it manually in shell-httpie.#389
umeshp7 merged 2 commits intodevelopfrom
issue-330

Conversation

@webholik
Copy link
Contributor

Fixes #330. In shell-httpie and two other codegens (http and nodejs-native) we are manually parsing the url object. postman-collections provides a toString function that can handle all the special cases and we are using it in rest of the codegens. So, I have removed the code handling url parsing. I will do the same for the other two codegens in another PR.

@umeshp7 umeshp7 merged commit f8b73ad into develop Oct 28, 2020
@umeshp7 umeshp7 deleted the issue-330 branch December 15, 2020 09:27
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

Successfully merging this pull request may close these issues.

Shell - Httpie adds extra https:// for URLs that start with environment variables

2 participants