HTTP: Add support of PATCH method (RFC 5789)

Bug: 11229
Change-Id: I915d2efb873bfa72d500070f382dad10a991ecd4
Reviewed-on: https://code.wireshark.org/review/8673
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
Tested-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Andy Ling 2015-05-28 16:27:15 +02:00 committed by Anders Broman
parent b610db61da
commit c58f51b321
1 changed files with 1 additions and 0 deletions

View File

@ -2150,6 +2150,7 @@ is_http_request_or_reply(const gchar *data, int linelen, http_type_t *type,
strncmp(data, "BMOVE", indx) == 0 ||
strncmp(data, "MKCOL", indx) == 0 ||
strncmp(data, "TRACE", indx) == 0 ||
strncmp(data, "PATCH", indx) == 0 || /* RFC 5789 */
strncmp(data, "LABEL", indx) == 0 || /* RFC 3253 8.2 */
strncmp(data, "MERGE", indx) == 0) { /* RFC 3253 11.2 */
*type = HTTP_REQUEST;