Skip to content

HeadlessBrowserRequestSender Class ignores disabled TestSettings.FollowHttpRedirectionResponses property #35

@adydecki

Description

@adydecki

Summary: The HeadlessBrowserRequestSender class does not honor the TestSettings.FollowHttpRedirectionResponses property when it is set to false. Despite the expectation that HTTP redirection responses should not be followed when this property is disabled, the class continues to process redirections as if the property were enabled.

Steps to Reproduce:

  1. Set TestSettings.FollowHttpRedirectionResponses to false.
  2. Initiate a request that results in an HTTP redirection response using the HeadlessBrowserRequestSender class.
  3. Observe that the redirection response is followed, contrary to the property setting.

Expected Behavior: When TestSettings.FollowHttpRedirectionResponses is set to false, the HeadlessBrowserRequestSender class should not follow any HTTP redirection responses.

Actual Behavior: The HeadlessBrowserRequestSender class follows the HTTP redirection response even when TestSettings.FollowHttpRedirectionResponses is disabled.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions