Hello,

in our ant script, we use the "get" task to fetch some data from the server via 
HTTP GET. The server interprets the 'Content-Type' header of the request and 
delivers the response in the appropriate format (html/xml/json).

We'd like to have the result as XML and hence would need to set the content 
type header of the HTTP request.

Is this possible using the standard get task? If yes, how?

I've only found the 'useragent' attribute in the task but no means to set some 
other HTTP headers.

Thanks!
AL

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to