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">
  <condition>
    <not>
      <http url="fakehost"/>
    </not>
  </condition>
</fail>

...it'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.

Thanks!

Reply via email to