Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Listener does not return response for DELETE /db #1356

Closed
sethrosetter opened this issue Jul 15, 2016 · 4 comments

Comments

@sethrosetter
Copy link

commented Jul 15, 2016

with 1.3.0-30

http DELETE http://localhost:5984/testdb
No response

Expected (CouchDB and Mac OSX behavior):

{"ok":true}

@sethrosetter sethrosetter added this to the 1.3.0 milestone Jul 15, 2016

@sethrosetter

This comment has been minimized.

Copy link
Author

commented Jul 15, 2016

This is a regression. This works with 1.2.1

@hideki

This comment has been minimized.

Copy link

commented Jul 15, 2016

@sethrosetter
Does LiteServ return HTTP Header?

@hideki hideki added the bug label Jul 15, 2016

@hideki hideki self-assigned this Jul 15, 2016

@sethrosetter

This comment has been minimized.

Copy link
Author

commented Jul 15, 2016

http -v DELETE http://192.168.56.101:8081/testdb
DELETE /testdb HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Connection: keep-alive
Content-Length: 0
Host: 192.168.56.101:8081
User-Agent: HTTPie/0.9.3
HTTP/1.1 200 Ok
connection: keep-alive
date: Fri, 15 Jul 2016 16:59:13 GMT
keep-alive: timeout=30, max=100
mime-version: 1.0
server: D. Rogatkin's TJWS with Android support (aka Acme.Serve)/Version 1.105, $Revision: 1.267 $,Couchbase Lite 1.3.0-30
transfer-encoding: chunked
@hideki

This comment has been minimized.

Copy link

commented Jul 15, 2016

I tested with curl against LiteServ. Response body is returned.

hideki@hidekis:~$ curl -X "DELETE" http://192.168.57.101:5984/db
{"ok":true}
hideki@hidekis:~$ 

@hideki hideki added review and removed in progress labels Jul 15, 2016

@pasin pasin closed this in a5f26e4 Jul 15, 2016

pasin added a commit that referenced this issue Jul 15, 2016
Merge pull request #1357 from couchbase/feature/issue_1356
Fixed #1356 - default response body`{"ok":"true"}` is not returned.

@pasin pasin removed the review label Jul 15, 2016

@hideki hideki reopened this Jul 15, 2016

@hideki hideki added the review label Jul 15, 2016

@hideki hideki closed this Jul 16, 2016

@hideki hideki removed the review label Jul 16, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.