Update README.rst in python dir
This commit is contained in:
parent
d49f520dff
commit
efb25f723f
|
@ -6,9 +6,9 @@ header compressor and decompressor are implemented in extension using
|
||||||
cython.
|
cython.
|
||||||
|
|
||||||
This is experimental and adds some dependencies which is a bit hard to
|
This is experimental and adds some dependencies which is a bit hard to
|
||||||
check, so this extension module does not built with usual ``make
|
check, so this extension module does not built with usual ``make`` in
|
||||||
install`` in the top directory. Instead, a user has to run ``make
|
the top directory. Instead, a user has to run ``make build_ext`` in
|
||||||
build_ext`` in this directory.
|
this directory.
|
||||||
|
|
||||||
The build extension module is called ``nghttp2``.
|
The build extension module is called ``nghttp2``.
|
||||||
|
|
||||||
|
@ -37,3 +37,6 @@ decompressor::
|
||||||
data = deflater.deflate([(b'foo', b'bar'),
|
data = deflater.deflate([(b'foo', b'bar'),
|
||||||
(b'baz', b'buz')])
|
(b'baz', b'buz')])
|
||||||
print(binascii.b2a_hex(data))
|
print(binascii.b2a_hex(data))
|
||||||
|
|
||||||
|
hdrs = inflater.inflate(data)
|
||||||
|
print(hdrs)
|
||||||
|
|
Loading…
Reference in New Issue