@@ -63,6 +63,14 @@ namespace boost { namespace network { namespace http {
6363return pimpl->request_skeleton (request," POST" ,true , body_handler);
6464 }
6565
66+ responseconst post (requestconst &request, body_callback_function callback) {
67+ return post (request,string_type (),string_type (), callback);
68+ }
69+
70+ responseconst post (requestconst &request, string_typeconst &body, body_callback_function callback) {
71+ return post (request, body,string_type (), callback);
72+ }
73+
6674 responseconst put (request request, string_typeconst &body = string_type(), string_typeconst &content_type = string_type(), body_callback_function_type body_handler = body_callback_function_type()) {
6775if (body !=string_type ()) {
6876 request <<remove_header (" Content-Length" )
@@ -89,6 +97,14 @@ namespace boost { namespace network { namespace http {
8997return pimpl->request_skeleton (request," DELETE" ,true , body_handler);
9098 }
9199
100+ responseconst put (requestconst & request, body_callback_function_type callback) {
101+ return put (request,string_type (),string_type (), callback);
102+ }
103+
104+ responseconst put (requestconst & request, string_type body, body_callback_function_type callback) {
105+ return put (request, body,string_type (), callback);
106+ }
107+
92108void clear_resolved_cache () {
93109 pimpl->clear_resolved_cache ();
94110 }