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

http resolve to support scheme and port change #525

Open
guoweis-work opened this issue Mar 23, 2022 · 1 comment
Open

http resolve to support scheme and port change #525

guoweis-work opened this issue Mar 23, 2022 · 1 comment

Comments

@guoweis-work
Copy link
Contributor

guoweis-work commented Mar 23, 2022

Currently, the resolver can handle something like this

- type: http
  resolve:
    - siteA:8080:siteB

This changes from http://siteA:8080 to http://siteB:8080

In my use case, I need to change the port as well.

- type: http
  resolve:
    - https:siteA:443:http:siteB:8080

This changes from https://siteA:443 to http://siteB:8080

If I submit a PR for this, would you be open to take this? This will be an alternative, additional syntax of resolve.

If the scheme is too out of scope, what if just the port?

- type: http
  resolve:
    - siteA:7070:siteB:8080

This changes from http://siteA:7070 to http://siteB:8080

@guoweis-work guoweis-work changed the title http resolve to support schema and port change http resolve to support scheme and port change Mar 23, 2022
@fsamin
Copy link
Member

fsamin commented May 4, 2022

Hello,
This could be an interesting feature in the http executor. If you want to submit a PR, it would be appreciated.

@fsamin fsamin added this to the 1.2.0 milestone Aug 2, 2022
@github-actions github-actions bot added the Stale label Aug 16, 2024
@yesnault yesnault reopened this Aug 16, 2024
@github-actions github-actions bot removed the Stale label Aug 17, 2024
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

3 participants