"Johnny B. Goode" <[EMAIL PROTECTED]> writes:

> Using --post-data or --post-file, the posted Content-Type is always
> set to application/x-www-form-urlencode. It would be nice to be able
> to change this using a command line option - eg. to be able to post
> XML files (Content-Type=text/xml).

In Wget 1.10 you can use:

    wget --header "Content-Type: text/xml" --post-file FILE URL

Reply via email to