Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1034

whitespace is not ignored in compressible_types causing compression to be skipped for matching types

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.1, 1.0.2, 1.0.3, 1.1
    • Fix Version/s: 1.1
    • Component/s: Database Core
    • Labels:
      None

      Description

      We don't ignore runs of whitespace when parsing compressible_types, thus the inadvertent double space between application/xml and it's preceding item causes us not to compress application/xml content-types.

      Fix is to improve regexp to ignore this.

        Attachments

          Activity

            People

            • Assignee:
              rnewson Robert Newson
              Reporter:
              rnewson Robert Newson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: