Searched refs:_TrimHeaders (Results 1 – 2 of 2) sorted by relevance
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/ |
D | httparchive_test.py | 68 self.assertEqual(request._TrimHeaders(header1), 72 self.assertEqual(request._TrimHeaders(header2), []) 76 self.assertEqual(request._TrimHeaders(header3), [('hello', 'world')]) 80 self.assertEqual(request._TrimHeaders(header4), 85 self.assertEqual(request._TrimHeaders(header5), 90 self.assertEqual(request._TrimHeaders(header6), []) 406 self.assertEqual(response._TrimHeaders(header1), header1) 412 self.assertEqual(response._TrimHeaders(header2), header2) 424 self.assertEqual(response._TrimHeaders(header3), [ 441 self.assertEqual(response._TrimHeaders(header4), [])
|
D | httparchive.py | 514 self.trimmed_headers = self._TrimHeaders(headers) 561 state['trimmed_headers'] = self._TrimHeaders(dict(state['headers'])) 655 def _TrimHeaders(cls, headers): member in ArchivedHttpRequest 769 self.headers = self._TrimHeaders(headers) 794 def _TrimHeaders(cls, headers): member in ArchivedHttpResponse 836 state['headers'] = self._TrimHeaders(state['original_headers'])
|