Home
last modified time | relevance | path

Searched refs:HPackHdrString (Results 1 – 3 of 3) sorted by relevance

/external/scapy/scapy/contrib/
Dhttp2.uts449 + HTTP/2 HPackHdrString Test Suite
451 = HTTP/2 Dissect HPackHdrString
454 p = h2.HPackHdrString(b'\x04Test')
460 p = h2.HPackHdrString(b"\x83\xdeT'")
466 = HTTP/2 Build HPackHdrString
469 p = h2.HPackHdrString(data=h2.HPackLiteralString('Test'))
472 p = h2.HPackHdrString(data=h2.HPackZString('Test'))
476 p = h2.HPackHdrString(type=1, len=3, data=h2.HPackLiteralString('Test'))
509 assert(isinstance(p.hdr_name, h2.HPackHdrString))
513 assert(isinstance(p.hdr_value, h2.HPackHdrString))
[all …]
Dhttp2.py1291 class HPackHdrString(packet.Packet): class
1320 return super(HPackHdrString, self).self_build(field_pos_list)
1368 fields.PacketField('hdr_name', None, HPackHdrString),
1371 fields.PacketField('hdr_value', None, HPackHdrString)
1388 fields.PacketField('hdr_name', None, HPackHdrString),
1391 fields.PacketField('hdr_value', None, HPackHdrString)
2480 return HPackHdrString(data=HPackLiteralString(s))
2481 return HPackHdrString(data=zs)
/external/scapy/doc/notebooks/
DHTTP_2_Tuto.ipynb1778 "path_str = h2.HPackHdrString(data = z_str)\n",
1912 "cookie_str = h2.HPackHdrString(data = h2.HPackZString(cookie[0]))\n",
2054 "dnt_name = h2.HPackHdrString(data = dnt_name_str)\n",
2055 "dnt_value = h2.HPackHdrString(data = dnt_val_str)\n",