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

Allow configuring follow redirects count #374

Merged
merged 2 commits into from
Aug 18, 2024

Conversation

leelaprasadv
Copy link
Member

@leelaprasadv leelaprasadv commented Aug 18, 2024

closes #372

Change Summary:

  • Allow withFollowRedirects and setDefaultFollowRedirects to support boolean and number parameters.
  • Allow setting the followRedirects at
    • request level withFollowRedirects
    • global setDefaultFollowRedirects level.
  • Default redirects should be 20 and should >=0
  • Allow users to increase or decrease the redirect count

PR for documentation update - pactumjs/pactumjs.github.io#55

@leelaprasadv leelaprasadv added the enhancement New feature or request label Aug 18, 2024
@leelaprasadv leelaprasadv self-assigned this Aug 18, 2024
@leelaprasadv leelaprasadv merged commit 7a692c0 into master Aug 18, 2024
6 checks passed
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 this pull request may close these issues.

Allow configuring follow redirects count
2 participants