rnewson commented on code in PR #6190:
URL: https://github.com/apache/couchdb/pull/6190#discussion_r4441926910
##########
src/chttpd/src/chttpd.erl:
##########
@@ -426,7 +426,7 @@ handle_req_after_auth(HandlerKey, HttpReq) ->
fun chttpd_db:handle_request/1
),
AuthorizedReq = chttpd_auth:authorize(
- possibly_hack(HttpReq),
Review Comment:
I've made those changes but how do we feel about the difference between the
same request body giving;
```
400
{"error":"invalid_replication","reason":"local database names are not
supported, use a full URL"}
```
with `_replicate` but
```
403
{"error":"forbidden","reason":"local_endpoints_not_supported"}
```
when trying to write it to a `_replicator` doc?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]