Søren Gjesse
eaf75a100e
HeaderValues: Handle all parameters without values.
...
Some cases, an HttpHeader Value may contain all parameters and
no values. This changes ensures that such a header is parsed, that
it is handled correctly.
This was noticed when parsing the following header for websockets:
Sec-WebSocket-Extensions: permessage-deflate; client_no_context_takeover; client_max_window_bits; server_no_context_takeover
It was parsing with the value permessage-deflate (correct) with parameters:
{'client_no_context_takeover;' : 'client_max_window_bits',
'server_no_context_takeover' : null }
With this patch it now properly shows the parameters as:
{'client_no_context_takeover' : null,
'client_max_window_bits' : null,
'server_no_context_takeover' : null }
I've also included a test for this as well.
BUG=
Patch by Matthew Butler <butler.matthew@gmail.com >.
Review URL: https://codereview.chromium.org/1564913002 .
2016-01-07 09:03:53 +01:00
..
2015-10-29 13:17:22 +01:00
2014-11-12 08:41:55 +00:00
2015-01-28 16:00:26 +00:00
2015-02-05 16:29:39 +00:00
2013-10-24 12:17:20 +00:00
2014-11-10 19:15:27 +00:00
2013-10-30 16:56:04 +00:00
2016-01-05 16:26:28 +01:00
2013-10-23 12:50:18 +00:00
2013-10-03 13:28:35 +00:00
2013-10-03 13:28:35 +00:00
2013-10-24 12:17:20 +00:00
2013-10-03 13:28:35 +00:00
2013-10-24 12:17:20 +00:00
2013-10-03 13:28:35 +00:00
2013-10-24 12:17:20 +00:00
2013-10-30 11:44:06 +00:00
2014-05-19 17:44:23 +00:00
2013-10-03 13:28:35 +00:00
2013-10-03 13:28:35 +00:00
2015-02-05 08:07:59 +00:00
2013-11-05 10:35:19 +00:00
2013-10-31 02:24:29 +00:00
2013-12-13 12:04:24 +00:00
2013-10-24 12:17:20 +00:00
2013-10-30 12:09:15 +00:00
2015-02-05 16:29:39 +00:00
2015-02-05 16:29:39 +00:00
2015-01-09 13:06:37 +00:00
2015-01-09 13:06:37 +00:00
2013-10-30 12:09:15 +00:00
2013-10-30 12:09:15 +00:00
2013-10-03 13:28:35 +00:00
2013-10-24 12:17:20 +00:00
2013-10-31 07:29:01 +00:00
2013-10-31 07:29:01 +00:00
2014-02-06 11:27:42 +00:00
2013-11-06 16:32:23 +00:00
2013-10-03 13:28:35 +00:00
2013-10-03 13:28:35 +00:00
2013-10-03 13:28:35 +00:00
2013-10-03 13:28:35 +00:00
2015-04-17 08:56:03 +00:00
2013-11-27 11:48:14 +00:00
2015-05-27 15:31:30 +02:00
2014-06-17 14:34:45 +00:00
2013-11-05 10:35:19 +00:00
2014-02-05 07:28:02 +00:00
2013-11-05 08:46:50 +00:00
2015-06-24 09:25:17 +02:00
2014-03-04 13:58:46 +00:00
2015-05-11 13:48:15 +00:00
2013-11-04 19:01:11 +00:00
2013-11-04 19:01:11 +00:00
2015-02-17 13:14:49 +00:00
2014-06-02 10:38:02 +00:00
2014-06-19 09:05:07 +00:00
2013-11-18 10:27:50 +00:00
2014-08-26 10:32:27 +00:00
2014-03-04 13:58:46 +00:00
2014-09-23 11:08:24 +00:00
2013-11-05 13:24:49 +00:00
2014-03-04 13:58:46 +00:00
2015-09-08 13:30:03 +02:00
2014-08-12 07:12:03 +00:00
2014-08-26 09:46:38 +00:00
2014-05-12 13:32:23 +00:00
2015-03-09 13:33:28 +00:00
2014-03-05 11:43:04 +00:00
2013-10-28 09:26:02 +00:00
2016-01-07 09:03:53 +01:00
2014-11-26 08:53:07 +00:00
2014-02-19 09:44:26 +00:00
2014-03-04 13:58:46 +00:00
2015-09-08 13:30:03 +02:00
2015-10-06 16:30:10 +02:00
2014-06-19 09:05:07 +00:00
2015-10-06 16:30:10 +02:00
2013-11-04 19:01:11 +00:00
2015-08-10 12:18:12 +02:00
2014-06-02 10:38:02 +00:00
2013-10-23 12:50:18 +00:00
2013-11-06 16:32:23 +00:00
2013-10-31 07:29:01 +00:00
2013-10-31 07:29:01 +00:00
2014-08-12 07:12:03 +00:00
2014-08-12 07:12:03 +00:00
2014-06-02 10:38:02 +00:00
2015-08-26 14:42:12 +02:00
2015-08-26 14:42:12 +02:00
2015-08-26 14:42:12 +02:00
2015-08-26 14:42:12 +02:00
2015-08-26 14:42:12 +02:00
2013-12-18 12:20:09 +00:00
2014-03-03 18:33:56 +00:00
2013-10-30 14:50:22 +00:00
2015-03-04 14:37:34 +00:00
2015-03-04 14:37:34 +00:00
2013-10-30 12:09:15 +00:00
2014-01-14 09:01:53 +00:00
2013-11-05 10:35:19 +00:00
2013-11-29 11:18:30 +00:00
2014-06-10 07:33:37 +00:00
2013-10-22 07:32:06 +00:00
2013-10-25 19:23:00 +00:00
2015-06-15 15:26:56 +02:00
2015-12-17 07:48:41 -08:00
2013-11-04 07:25:57 +00:00
2013-10-31 07:29:01 +00:00
2013-10-31 07:29:01 +00:00
2015-02-03 13:38:38 +00:00
2015-02-03 13:38:38 +00:00
2013-10-23 12:50:18 +00:00
2014-01-06 10:18:22 +00:00
2015-02-04 08:20:33 +00:00
2013-10-30 12:09:15 +00:00
2014-03-17 10:40:19 +00:00
2013-10-31 07:29:01 +00:00
2013-10-31 07:29:01 +00:00
2013-10-23 12:50:18 +00:00
2013-10-23 12:50:18 +00:00
2013-10-23 12:50:18 +00:00
2013-10-31 07:29:01 +00:00
2013-10-30 12:09:15 +00:00
2014-09-15 08:21:44 +00:00
2015-10-06 10:20:58 +02:00
2015-08-26 14:42:12 +02:00
2015-08-26 14:42:12 +02:00
2015-08-26 14:42:12 +02:00
2015-08-26 14:42:12 +02:00
2015-08-26 14:42:12 +02:00
2013-10-31 07:29:01 +00:00
2015-03-10 08:54:22 +00:00
2015-02-05 16:29:39 +00:00
2013-10-31 07:29:01 +00:00
2013-10-31 07:29:01 +00:00
2013-10-30 12:09:15 +00:00
2015-08-26 14:42:12 +02:00
2015-01-22 10:27:11 +00:00
2013-11-26 07:48:57 +00:00
2015-10-20 17:18:57 +02:00
2015-08-26 14:42:12 +02:00
2015-08-26 14:42:12 +02:00
2015-08-26 14:42:12 +02:00
2015-08-26 14:42:12 +02:00
2015-08-26 14:42:12 +02:00
2015-10-29 13:17:22 +01:00
2015-08-26 14:42:12 +02:00
2015-08-26 14:42:12 +02:00
2015-08-26 14:42:12 +02:00
2015-08-26 14:42:12 +02:00
2015-08-26 14:42:12 +02:00
2015-08-26 14:42:12 +02:00
2015-10-29 13:17:22 +01:00
2015-08-26 14:42:12 +02:00
2015-08-26 14:42:12 +02:00
2015-08-26 14:42:12 +02:00
2015-08-26 14:42:12 +02:00
2015-10-05 15:34:42 +02:00
2014-05-14 09:36:03 +00:00
2013-12-19 15:07:48 +00:00
2014-05-14 09:36:03 +00:00
2013-10-23 12:50:18 +00:00
2014-12-04 16:23:45 +00:00
2014-09-08 20:52:25 +00:00
2014-09-08 20:52:25 +00:00
2015-10-05 12:25:20 +02:00
2013-11-04 19:01:11 +00:00
2013-10-31 07:29:01 +00:00
2015-03-09 13:33:28 +00:00
2014-02-19 09:44:26 +00:00
2014-03-19 09:23:17 +00:00
2013-10-31 02:24:29 +00:00
2014-02-19 09:44:26 +00:00
2015-02-23 13:16:03 +00:00
2014-06-10 07:13:52 +00:00
2015-08-26 14:42:12 +02:00
2014-12-04 16:23:45 +00:00
2013-10-25 10:30:34 +00:00
2013-12-19 10:59:58 +00:00
2015-01-16 13:35:37 +00:00
2015-07-10 13:57:15 +02:00
2013-10-03 13:28:35 +00:00
2015-01-16 13:35:37 +00:00
2015-01-16 13:35:37 +00:00
2013-10-03 13:28:35 +00:00
2015-06-25 10:14:58 +02:00
2013-10-31 07:29:01 +00:00
2013-11-05 08:10:55 +00:00
2014-03-13 22:56:00 +00:00
2013-10-23 12:50:18 +00:00
2014-10-10 12:05:52 +00:00
2013-10-31 02:24:29 +00:00
2013-10-29 11:33:34 +00:00
2015-11-12 17:04:07 +01:00
2015-09-07 09:07:39 +02:00
2015-05-11 09:32:39 +00:00
2015-09-08 13:30:03 +02:00
2013-11-27 12:10:23 +00:00
2015-08-26 14:42:12 +02:00
2015-11-06 08:59:02 +01:00
2013-10-31 07:29:01 +00:00
2013-10-03 13:28:35 +00:00
2013-10-03 13:28:35 +00:00
2015-10-08 18:19:02 +02:00