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

attachments - handle correctly chunked encoding and Content-Length, send attachments unchunked

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10
    • None
    • None

    Description

      This patch allow couchdb to send attachments unchunked, instead, Content-Length is fixed and content is streamed. It also fix attachments PUT by detecting first if encoding is chunked then test the length witch is the standard way to do it.

      Attachments

        1. attachments_get_length.diff
          3 kB
          Benoit Chesneau
        2. attachments_put_length.diff
          3 kB
          Benoit Chesneau
        3. chunked.diff
          6 kB
          Benoit Chesneau
        4. chunked2.diff
          6 kB
          Benoit Chesneau

        Activity

          People

            Unassigned Unassigned
            benoitc Benoit Chesneau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: