Skip to content

Commit 2d90da5

Browse files
committed
Make sure only strings are returned for HTTP headers
1 parent 805265b commit 2d90da5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instana/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def id_to_header(id):
3232
return ""
3333

3434
byteString = struct.pack('>q', id)
35-
return binascii.hexlify(byteString).decode('UTF-8').lstrip('0')
35+
return str(binascii.hexlify(byteString).decode('UTF-8').lstrip('0'))
3636

3737

3838
def header_to_id(header):

0 commit comments

Comments
 (0)