Github user kxepal commented on the pull request:

    https://github.com/apache/couchdb/pull/314#issuecomment-97028553
  
    ```
    $ curl -XPUT -v http://localhost:5984/a%2fb%2fc%2fd/test%2fpassed%2freally 
-d '{}'
    * Hostname was NOT found in DNS cache
    *   Trying 127.0.0.1...
    * Connected to localhost (127.0.0.1) port 5984 (#0)
    > PUT /a%2fb%2fc%2fd/test%2fpassed%2freally HTTP/1.1
    > User-Agent: curl/7.39.0
    > Host: localhost:5984
    > Accept: */*
    > Content-Length: 2
    > Content-Type: application/x-www-form-urlencoded
    > 
    * upload completely sent off: 2 out of 2 bytes
    < HTTP/1.1 201 Created
    < Server: CouchDB/1.6.1 (Erlang OTP/17)
    < Location: http://localhost:5984/a/b/c/d/test%2fpassed%2freally
    < ETag: "1-967a00dff5e02add41819138abb3284d"
    < Date: Tue, 28 Apr 2015 11:25:34 GMT
    < Content-Type: text/plain; charset=utf-8
    < Content-Length: 81
    < Cache-Control: must-revalidate
    < 
    
{"ok":true,"id":"test/passed/really","rev":"1-967a00dff5e02add41819138abb3284d"}
    ```
    
    Patch is good, but there is a database name that also causes invalid 
Location value.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to