Searched refs:HPackZString (Results 1 – 3 of 3) sorted by relevance
/external/scapy/scapy/contrib/ |
D | http2.uts | 209 + HTTP/2 HPackZString Test Suite 211 = HTTP/2 HPackZString Compression 215 s = h2.HPackZString(string) 221 s = h2.HPackZString(string) 226 = HTTP/2 HPackZString Decompression 230 i, ibl = h2.HPackZString.huffman_conv2bitstring(s) 231 assert(b'Test' == h2.HPackZString.huffman_decode(i, ibl)) 234 i, ibl = h2.HPackZString.huffman_conv2bitstring(s) 235 assert(b'a'*65535 == h2.HPackZString.huffman_decode(i, ibl)) 239 'h2.HPackZString.huffman_decode(*h2.HPackZString.huffman_conv2bitstring(b"\\xdeT"))') [all …]
|
D | http2.py | 723 class HPackZString(HPackStringsInterface): class 1213 i, ibl = HPackZString.huffman_conv2bitstring(s) 1214 return HPackZString(HPackZString.huffman_decode(i, ibl)) 1236 elif isinstance(x, HPackZString): 1319 self.type = 1 if isinstance(self.getfieldval('data'), HPackZString) else 0 2478 zs = HPackZString(s)
|
/external/scapy/doc/notebooks/ |
D | HTTP_2_Tuto.ipynb | 469 " | | | data = 'HPackZString(www.google.fr)'\n", 483 " | | | data = 'HPackZString(fr-FR)'\n", 491 " | | | data = 'HPackZString(text/html)'\n", 499 " | | | data = 'HPackZString(Scapy HTTP/2 Module)'\n", 599 " | | | data = 'HPackZString(/favicon.ico)'\n", 619 " | | | data = 'HPackZString(image/x-icon; image/vnd.microsoft.icon)'\n", 681 " | | data = 'HPackZString(/favicon.ico)'\n", 701 " | | data = 'HPackZString(image/x-icon; image/vnd.microsoft.icon)'\n", 816 " | | data = 'HPackZString(Accept-Encoding)'\n", 824 " | | data = 'HPackZString(gzip)'\n", [all …]
|