Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-469

wagon-http does not enable Expect-Continue by default

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.10
    • Fix Version/s: 2.12
    • Component/s: wagon-http
    • Labels:
      None

      Description

      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:

      <put>
        <params>
          <property>
            <name>http.protocol.expect-continue</name>
            <value>%b,true</value>
          </property>
        </params>
      </put>
      

      is provided in settings.xml is Expect-Continue support enabled.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael-o Michael Osipov
                Reporter:
                mcculls Stuart McCulloch
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: