flimzy opened a new pull request #188: Remove mention of Content-MD5 header, 
which isn't present
URL: https://github.com/apache/couchdb-documentation/pull/188
 
 
   My tests with 1.6.1, 2.0.0 and 2.1.0 all suggest that the `Content-MD5` 
header is not set in GET or HEAD responses when querying attachments.  Perhaps 
this was removed after the `ETag` header was added, as they are practically 
duplicates?
   
   Example, from 2.1.0:
   
   ```
   $ curl -v -X GET http://admin:abc123@localhost:6002/foo/foo/foo.txt
   Note: Unnecessary use of -X or --request, GET is already inferred.
   *   Trying ::1...
   * TCP_NODELAY set
   * Connected to localhost (::1) port 6002 (#0)
   * Server auth using Basic with user 'admin'
   > GET /foo/foo/foo.txt HTTP/1.1
   > Host: localhost:6002
   > Authorization: Basic YWRtaW46YWJjMTIz
   > User-Agent: curl/7.52.1
   > Accept: */*
   > 
   < HTTP/1.1 200 OK
   < Server: CouchDB/2.1.0 (Erlang OTP/17)
   < ETag: "ENGoH7oK8V9R3BMnfDHZmw=="
   < Date: Thu, 26 Oct 2017 21:31:41 GMT
   < Content-Type: text/plain
   < Content-Length: 13
   < Cache-Control: must-revalidate
   < Accept-Ranges: none
   < 
   * Curl_http_done: called premature == 0
   * Connection #0 to host localhost left intact
   Hello, World!
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to