Commit 1d692a9d authored by Joshua Bussdieker's avatar Joshua Bussdieker

Now supporting version 01

parent 576ca628
//
// http://tools.ietf.org/html/draft-fielding-http-key-00
// http://tools.ietf.org/html/draft-fielding-http-key-01
//
#include "config.h"
......@@ -448,6 +448,10 @@ KEY_Match(struct http *http, const uint8_t *key)
if (!beginning_substring_matcher(m, h, strlen(m), case_flag) ^ not_flag)
result = 0;
break;
case M_PARAMETER:
if (!parameter_prefix_matcher(m, h, strlen(m), case_flag) ^ not_flag)
result = 0;
break;
case M_CASE:
case_flag = 1;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment