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

Transfer-Encoding: Chunked on HTTP 1.0 request

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.8
    • HTTP Interface
    • None
    • Irrelevant

    Description

      The following request:

      > DELETE /test HTTP/1.0
      > Host: localhost

      is responded like:

      > HTTP/1.0 404 Object Not Found
      > Transfer-Encoding: chunked
      > Server: MochiWeb/1.0 (Any of you quaids got a smint?)
      > Date: Tue, 15 Apr 2008 20:39:07 GMT
      > Content-Type: text/plain;charset=utf-8
      >
      > 28
      >

      {"error":"not_found","reason":"missing"}

      > 0

      while chunked transfer-encoding is only supported by HTTP 1.1.

      Attachments

        1. compat_http10_couchdb_r649048.diff
          7 kB
          Benoit Chesneau
        2. patch-share_www_script_jquery_couch_js
          0.9 kB
          Benoit Chesneau
        3. mochiweb_chunking_http10.diff
          2 kB
          Christopher Lenz
        4. patch-src_couchdb_couch_httpd_erl
          0.7 kB
          Benoit Chesneau
        5. mochiweb_chunking_http10_2.diff
          3 kB
          Christopher Lenz

        Activity

          People

            cmlenz Christopher Lenz
            apache@kore-nordmann.de Kore Nordmann
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: