apache: Allow URL diagnostics to work with redirects
Upon access of an app URL, it may redirect to another URL that is configured in app settings. This new URL could only be accessed on IPv4 or IPv6 only. When curl is invoked with the IP address version of a different kind, the access fails. In such cases, tell the diagnostics methods not the restrict to a particular address type.
Tests:
-
Unit tests pass.
-
All of transmission's diagnostics tests pass. The URL tests show that they have been performed on a particular IP address type.
Signed-off-by: Sunil Mohan Adapa sunil@medhas.org