ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Cleghorn <>
Subject http condition in 1.9.x
Date Fri, 16 May 2014 14:13:55 GMT
Is there an easy method of capturing the exact response when using the 
"http" condition? Given a task like this:

<fail message="HTTP error code returned">
      <http url="fakehost"/>
</fail>'d be nice, in a project I'm working on at the moment, to be able to 
return more granular error messages than "boo, HTTP error!" and "yay, no 
HTTP error!", but it seems as if the actual response code is only visible 
with -d output.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message