Sign in
apache
/
couchdb-couch-plugins
/
42ca512dd2b652ad80eb9a85e5774ba7040d5711
/
.
/
src
/
couch_plugins_httpd.erl
blob: 1e61aa251c9598ad40dee6fa12e76a071ca4b0ab [
file
] [
log
] [
blame
]
-module
(couch_plugins_httpd)
.
-export
([handle_req/
1
])
.
-include_lib
(
"couch_db.hrl"
)
.
handle_req(#httpd{method=
'PUT'
}=
Req
) ->
couch_httpd:send_json(
Req
,
202
,
{[{ok
,
true}]})
;
handle_req(
Req
) ->
couch_httpd:send_method_not_allowed(
Req
,
"PUT"
)
.