dont sweat unkknown method for client
Signed-off-by: Andy Green <andy.green@linaro.org>
diff --git a/lib/parsers.c b/lib/parsers.c
index 4de8048..7e6fd89 100644
--- a/lib/parsers.c
+++ b/lib/parsers.c
@@ -473,7 +473,8 @@
if (wsi->u.hdr.lextable_pos < 0) {
/* this is not a header we know about */
- if (wsi->u.hdr.ah->frag_index[WSI_TOKEN_GET_URI]) {
+ if (wsi->u.hdr.ah->frag_index[WSI_TOKEN_GET_URI] ||
+ wsi->u.hdr.ah->frag_index[WSI_TOKEN_HTTP]) {
/*
* altready had the method, no idea what
* this crap is, ignore