Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
2.0.0
-
None
-
None
-
None
Description
To reproduce:
Create a database 'foo', then issue this curl command (adjusting port number, etc, as appropriate, of course):
curl -v -X PUT http://admin:abc123@localhost:6001/foo/foo/foo.txt?rev=5-967a00dff5e02add41819138abb3284d -H "Content-Type: text/plain" -d "Foo test"
Result:
< HTTP/1.1 500 Internal Server Error
{"error":"
","reason":"
{5,<<150,122,0,223,245,224,42,221,65,129,145,56,171,179,40,77>>}"}
Expected:
Probably a 412 error. Possibly a 404 (to match the "error" value--if that somehow actually makes sense).
And a less cryptic error message!