Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-47646

CURL unit test fails when connection is downgraded to http 1.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.5, 2.7.2
    • Fix Version/s: 2.6.6, 2.7.3
    • Component/s: Files API
    • Labels:

      Description

      The test URL http://download.moodle.org/unittest/test_redir.php?done=1 fails because it sends a bogus header:

      302 Moved Temporarily

      (Verified with Firefox developer tools.) It should be 302 Found (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.3).

      I have had enough of seeing unit tests fail because of this. I am going to make it just check the first 4 chars of the string.

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Nov/14