diff options
author | Zandra <[email protected]> | 2016-02-02 10:46:41 +0100 |
---|---|---|
committer | Zandra <[email protected]> | 2016-02-02 10:46:41 +0100 |
commit | 781ef120612c0018aa9f4e8114d74ac4af4e6191 (patch) | |
tree | 3f6e5c6f8aff726af1b7a8da77c4956023f4f458 /lib/inets/src/http_server/mod_esi.erl | |
parent | 1a6ec7c7eb20bb2b8300e7e59196c49ca63775b0 (diff) | |
parent | bdfc7355e066db8812dec0c3aa70a0fae0e5d6ac (diff) | |
download | otp-781ef120612c0018aa9f4e8114d74ac4af4e6191.tar.gz otp-781ef120612c0018aa9f4e8114d74ac4af4e6191.tar.bz2 otp-781ef120612c0018aa9f4e8114d74ac4af4e6191.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/inets/src/http_server/mod_esi.erl')
-rw-r--r-- | lib/inets/src/http_server/mod_esi.erl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/inets/src/http_server/mod_esi.erl b/lib/inets/src/http_server/mod_esi.erl index 967bd6bbf3..2978ac9095 100644 --- a/lib/inets/src/http_server/mod_esi.erl +++ b/lib/inets/src/http_server/mod_esi.erl @@ -282,6 +282,15 @@ erl(#mod{request_uri = ReqUri, ?NICE("Erl mechanism doesn't support method DELETE")}}| Data]}; +erl(#mod{request_uri = ReqUri, + method = "PATCH", + http_version = Version, + data = Data}, _ESIBody, _Modules) -> + ?hdrt("erl", [{method, patch}]), + {proceed, [{status,{501,{"PATCH", ReqUri, Version}, + ?NICE("Erl mechanism doesn't support method PATCH")}}| + Data]}; + erl(#mod{method = "POST", entity_body = Body} = ModData, ESIBody, Modules) -> ?hdrt("erl", [{method, post}]), |