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

wagon-http does not enable Expect-Continue by default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.10
    • 2.12
    • wagon-http
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: