... by making sure the stdout output doesn't look like HTTP headers. Closes #7333
This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
... when not actually following the redirect. Otherwise we return error for this and an application can't extract the value. Test 1518 added to verify. Reported-by: Pavel Pavlov Fixes #3340 Closes #3364