From f8ebe0bb4aa9a6a5110fae1d9248b87e1f6f2639 Mon Sep 17 00:00:00 2001 From: benoitc Date: Tue, 27 Mar 2012 09:24:48 +0200 Subject: [PATCH] add missing methods and reorder them by type. --- src/ibrowse_http_client.erl | 46 ++++++++++++++++++++++++------------- 1 file changed, 30 insertions(+), 16 deletions(-) diff --git a/src/ibrowse_http_client.erl b/src/ibrowse_http_client.erl index 103e3ab..1c5d1b2 100644 --- a/src/ibrowse_http_client.erl +++ b/src/ibrowse_http_client.erl @@ -1554,22 +1554,36 @@ fmt_val(Term) -> io_lib:format("~p", [Term]). crnl() -> "\r\n". -method(connect) -> "CONNECT"; -method(copy) -> "COPY"; -method(delete) -> "DELETE"; -method(get) -> "GET"; -method(head) -> "HEAD"; -method(lock) -> "LOCK"; -method(mkcol) -> "MKCOL"; -method(move) -> "MOVE"; -method(options) -> "OPTIONS"; -method(patch) -> "PATCH"; -method(post) -> "POST"; -method(propfind) -> "PROPFIND"; -method(proppatch) -> "PROPPATCH"; -method(put) -> "PUT"; -method(trace) -> "TRACE"; -method(unlock) -> "UNLOCK". +method(connect) -> "CONNECT"; +method(delete) -> "DELETE"; +method(get) -> "GET"; +method(head) -> "HEAD"; +method(options) -> "OPTIONS"; +method(post) -> "POST"; +method(put) -> "PUT"; +method(trace) -> "TRACE"; +%% webdav +method(copy) -> "COPY"; +method(lock) -> "LOCK"; +method(mkcol) -> "MKCOL"; +method(move) -> "MOVE"; +method(propfind) -> "PROPFIND"; +method(proppatch) -> "PROPPATCH"; +method(search) -> "SEARCH"; +method(unlock) -> "UNLOCK"; +%% subversion %% +method(report) -> "REPORT"; +method(mkactivity) -> "MKACTIVITY"; +method(checkout) -> "CHECKOUT"; +method(merge) -> "MERGE"; +%% upnp +method(msearch) -> "MSEARCH"; +method(notify) -> "NOTIFY"; +method(subscribe) -> "SUBSCRIBE"; +method(unsubscribe) -> "UNSUBSCRIBE"; +%% rfc-5789 +method(patch) -> "PATCH"; +method(purge) -> "PURGE". %% From RFC 2616 %%