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

Feature Request: Allow proxy for individual entries #1602

Closed
dross-carve opened this issue Jun 5, 2023 · 1 comment · Fixed by #1646
Closed

Feature Request: Allow proxy for individual entries #1602

dross-carve opened this issue Jun 5, 2023 · 1 comment · Fixed by #1646
Labels
enhancement New feature or request
Milestone

Comments

@dross-carve
Copy link

Each entry in a hurl file has an optional [Options] section that can be used to provide overrides for the CLI-provided options. While options such as insecure are currently supported in this section, there does not appear to be a way to specify a proxy other than using the --proxy CLI argument.

From a quick look through the code base, it looks like this would require some minor edits to the get_entry_options() method along with some changes to how files are parsed to make a new EntryOption::Proxy enum variant.

@dross-carve dross-carve added the enhancement New feature or request label Jun 5, 2023
@fabricereix
Copy link
Collaborator

hi @dross-carve,
yes, it could be naturally included in the [Options] section.
we can try to add it for the next release.

@jcamiel jcamiel added this to the 4.0.0 milestone Jun 5, 2023
@fabricereix fabricereix linked a pull request Jun 15, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants