Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit 76bb4f3

Browse files
committed
Merge branch 'development' into http11
2 parents 47e93fa + d374985 commit 76bb4f3

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

HISTORY.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Release History
22
===============
33

4-
Upcoming
5-
--------
4+
0.2.2 (2015-04-03)
5+
------------------
66

77
*Bugfixes*
88

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@
5555
# built documents.
5656
#
5757
# The short X.Y version.
58-
version = '0.2.1'
58+
version = '0.2.2'
5959
# The full version, including alpha/beta/rc tags.
60-
release = '0.2.1'
60+
release = '0.2.2'
6161

6262
# The language for content autogenerated by Sphinx. Refer to documentation
6363
# for a list of supported languages.

hyper/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
A module for providing an abstraction layer over the differences between
77
HTTP/1.1 and HTTP/2.
88
"""
9-
__version__ = '0.2.1'
9+
__version__ = '0.2.2'
1010

1111
from .http20.connection import HTTP20Connection
1212
from .http20.response import HTTP20Response, HTTP20Push

hyper/http20/hpack.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def encode_integer(integer, prefix_bits):
2525
This encodes an integer according to the wacky integer encoding rules
2626
defined in the HPACK spec.
2727
"""
28-
log.debug("Encoding %d with %d bits.", integer, prefix_bits)
28+
log.debug("Encoding %d with %d bits", integer, prefix_bits)
2929

3030
max_number = (2 ** prefix_bits) - 1
3131

@@ -70,7 +70,7 @@ def decode_integer(data, prefix_bits):
7070
number += next_byte * multiple(index)
7171
break
7272

73-
log.debug("Decoded %d consuming %d bytes.", number, index + 1)
73+
log.debug("Decoded %d, consumed %d bytes", number, index + 1)
7474

7575
return (number, index + 1)
7676

@@ -650,9 +650,9 @@ def _decode_literal(self, data, should_index):
650650
self._add_to_header_table(header)
651651

652652
log.debug(
653-
"Decoded %s, consumed %d, indexed %s",
653+
"Decoded %s, total consumed %d bytes, indexed %s",
654654
header,
655-
consumed,
655+
total_consumed,
656656
should_index
657657
)
658658

0 commit comments

Comments
 (0)