[ 
https://issues.apache.org/jira/browse/WAGON-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15736845#comment-15736845
 ] 

Hudson commented on WAGON-469:
------------------------------

SUCCESS: Integrated in Jenkins build maven-wagon #1318 (See 
[https://builds.apache.org/job/maven-wagon/1318/])
[WAGON-469] wagon-http does not enable Expect-Continue by default (michaelo: 
rev 5d600267c4e8f1a27b32bed91a557e696bd66fc3)
* (edit) 
wagon-providers/wagon-http/src/main/java/org/apache/maven/wagon/providers/http/HttpConfiguration.java
* (edit) 
wagon-providers/wagon-http/src/main/java/org/apache/maven/wagon/providers/http/AbstractHttpClientWagon.java


> wagon-http does not enable Expect-Continue by default
> -----------------------------------------------------
>
>                 Key: WAGON-469
>                 URL: https://issues.apache.org/jira/browse/WAGON-469
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-http
>    Affects Versions: 2.10
>            Reporter: Stuart McCulloch
>            Assignee: Michael Osipov
>             Fix For: 2.11
>
>
> According to 
> http://maven.apache.org/guides/mini/guide-http-settings.html#The_Basics PUT 
> requests made with the HTTP wagon will enable Expect-Continue support by 
> default.
> However testing shows that when no {{<httpConfiguration>}} is provided in 
> settings.xml Expect-Continue support is not enabled by wagon-http for PUT 
> requests.
> Similarly, when an empty {{<httpConfiguration>}} section is provided in 
> settings.xml, Expect-Continue support is not enabled by wagon-http for PUT 
> requests.
> Only when a {{<httpConfiguration>}} section like:
> {code:xml}
> <put>
>   <params>
>     <property>
>       <name>http.protocol.expect-continue</name>
>       <value>%b,true</value>
>     </property>
>   </params>
> </put>
> {code}
> is provided in settings.xml is Expect-Continue support enabled.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to