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

Add integration tests for the --header option #3541

Conversation

theoforger
Copy link
Contributor

Closes #3504.

Description

This PR adds the following two integration tests:

add_header

Use --header to add headers to:

  • A request with no additional headers in the hurl file
  • A request with some additional headers in the hurl file
  • A request with a duplicate header in the hurl file

override_header

Use --header to override built-in headers: User-Agent, Accept, Host

@jcamiel
Copy link
Collaborator

jcamiel commented Dec 19, 2024

/accept

@jcamiel
Copy link
Collaborator

jcamiel commented Dec 19, 2024

Good job @theoforger !

@hurl-bot
Copy link
Collaborator

🕗 /accept is running, please wait for completion.

@hurl-bot
Copy link
Collaborator

✅ Pull request merged with fast forward by jcamiel..

# List of commits merged from theoforger/hurl/integration-test-for-header-option branch into Orange-OpenSource/hurl/master branch:

  • ab29198 Add integration tests for the --header option

@hurl-bot hurl-bot merged commit ab29198 into Orange-OpenSource:master Dec 19, 2024
24 checks passed
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.

Add an integration test for --header option
3 participants