ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: How to set content type in "get" task?
Date Thu, 17 Mar 2016 04:58:45 GMT
On 2016-03-16, Al Le wrote:

> 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?

No, the get task doesn't support setting the Accept-Header. The feature
would be useful, but AFAIK you are the first person asking for it.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message