in reply to Re^4: File upload w/WWW::Mechanize
in thread File upload w/WWW::Mechanize

WWW::Mechanize takes care of whether it's a PUT or POST, etc

Hi

PUT is a HTTP method, and its one not supported by html forms. Mechanize submit_form doesn't support it either since HTML::Form doesn't. HTML::Form simply passes along upload filename to LWP family (see link above). LWP (HTTP....) does not support multipart/form-data for PUTs , only for POSTS....