Skip to content

Commit

Permalink
rest_client: Make async(rest_put()) do a PUT, not a POST
Browse files Browse the repository at this point in the history
(cherry picked from commit 04a56fb)
  • Loading branch information
liviuchircu committed Jul 11, 2019
1 parent 04808b2 commit 99dd4fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/rest_client/rest_methods.c
Expand Up @@ -664,7 +664,7 @@ int start_async_http_req(struct sip_msg *msg, enum rest_client_method method,
break;

case REST_CLIENT_PUT:
set_post_opts(handle, req_ctype, req_body);
set_put_opts(handle, req_ctype, req_body);
break;

default:
Expand Down

0 comments on commit 99dd4fa

Please sign in to comment.