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: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
