HTTP Streams transport doesnt abide max redirection
|Reported by:||dd32||Owned by:||dd32|
|Component:||HTTP API||Keywords:||has-patch needs-testing|
The Streams HTTP transport doesnt abide by the maximum redirections properly.
It appears, that the redirection limit is placed on a per-access count, rather than a per-redirection count. So the first request is counted in the number of redirections.
If you request a page with 'redirection = 1' on a document which redirects exactly once, It fails with a too-many redirects error.
My suggestion for fixing this is to simply increase the redirections by one on the stream wrapper creation..