Skip to content

Commit ec8c671

Browse files
authored
Merge pull request #167 from foolip/patch-1
Fix two typos in hpack.py
2 parents c76d07a + 65555a0 commit ec8c671

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: hpack/hpack.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def decode_integer(data, prefix_bits):
132132
def _dict_to_iterable(header_dict):
133133
"""
134134
This converts a dictionary to an iterable of two-tuples. This is a
135-
HPACK-specific function becuase it pulls "special-headers" out first and
135+
HPACK-specific function because it pulls "special-headers" out first and
136136
then emits them.
137137
"""
138138
assert isinstance(header_dict, dict)
@@ -387,7 +387,7 @@ class Decoder(object):
387387
If this amount of data is exceeded, a `OversizedHeaderListError
388388
<hpack.OversizedHeaderListError>` exception will be raised. At this
389389
point the connection should be shut down, as the HPACK state will no
390-
longer be useable.
390+
longer be usable.
391391
392392
Defaults to 64kB.
393393
:type max_header_list_size: ``int``

0 commit comments

Comments
 (0)