Re: How to set content type in "get" task?
Stefan Bodewig <[email protected]>
| Newsgroups | gmane.comp.jakarta.ant.user |
|---|---|
| Message-ID | <[email protected]> |
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. Stefan