Skip to content

Commit da26ef4

Browse files
committed
print debug message with headers generator
fixes python-hyper/h2#1219
1 parent 246e63d commit da26ef4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hpack/hpack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def encode(self, headers, huffman=True):
229229
# are already in the header table we can represent them using the
230230
# indexed representation: the same is true if they are in the static
231231
# table. Otherwise, a literal representation will be used.
232-
log.debug("HPACK encoding %s", headers)
232+
log.debug("HPACK encoding %s", list(headers))
233233
header_block = []
234234

235235
# Turn the headers into a list of tuples if possible. This is the

0 commit comments

Comments
 (0)