Commit efb25f72 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Update README.rst in python dir

parent d49f520d
...@@ -6,9 +6,9 @@ header compressor and decompressor are implemented in extension using ...@@ -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:: ...@@ -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)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment