Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.0-beta-6
-
Fix Version/s: None
-
Component/s: wagon-http
-
Labels:None
-
Environment:Debian unstable, Sun JDK 6.0u14
Description
When deploying to an HTTP (not DAV) repository, if the request is redirected, the artifact is uploaded twice: once for the original request, and then again at the redirect location.
Please consider using "Expect: 100-continue" when uploading, so as not to waste bandwidth in the case of a redirect. See RFC 2616 section 8.2.3.
This is a problem in the httpclient-driven wagon, which is what we defaulted to in maven 2.2.0