Search Issue Tracker

Fixed in 5.5.0

Votes

0

Found in

5.4.0b13

Issue ID

786285

Regression

No

[UnityWebRequest] redirectLimit = 0 doesn't disable redirects

Networking

-

Steps to reproduce:
1. Open attached project
2. Play "Test" scene
3. Notice error in the console ("Response code is not 301")
4. Open "Redirect Test.cs" and notice redirectLimit set to 0
5. ResponseCode actually is 200 if you check it after req.Send()

Expected: Web request is not redirected when redirectLimit = 0.
Actual: Web request still redirects with response code 200 (Status OK).

Reproduced with: 5.4.0b15; 5.3.4p4

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.