ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30244] New: - [PATCH] Add ability to set the request method when using the <http/> condition
Date Wed, 21 Jul 2004 21:55:50 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30244>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30244

[PATCH] Add ability to set the request method when using the <http/> condition

           Summary: [PATCH] Add ability to set the request method when using
                    the <http/> condition
           Product: Ant
           Version: 1.7Alpha (nightly)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: robert.clark@quest.com


Currently, the <http/> condition does an unconditional GET of a URL to
determine if it is available. This is generally not a problem unless you
need to check whether a large document is available. Then you have to 
download the whole thing.

The attached patch adds the ability to specify the HTTP request method when
checking a URL. This allows the use of an HTTP "HEAD" request to check to see 
if a document is available without downloading the whole document.

The patch is against the Ant HEAD branch as of this date and include a minor 
documentation change as well as the addition of a simple unit test for the
updated <http/> condition.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message