Bug 58840 - Add ability to set followRedirects=false in the <http/> condition
Summary: Add ability to set followRedirects=false in the <http/> condition
Status: RESOLVED FIXED
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.9.6
Hardware: PC All
: P2 enhancement (vote)
Target Milestone: 1.9.7
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-12 11:38 UTC by vtrackacc
Modified: 2016-02-07 15:03 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vtrackacc 2016-01-12 11:38:29 UTC
Currently there is no way to forbid follow redirects in the http condition (org.apache.tools.ant.taskdefs.condition.Http).
It would be good to have some property to turn off follow redirects to be able to check result when response status code is 302.
Comment 1 Stefan Bodewig 2016-02-07 15:03:34 UTC
added with git commit c78ecf7