Merge "Python 3: enable tests/unit/middleware/test_request_id.py"
This commit is contained in:
commit
13d6d6308a
|
@ -25,7 +25,7 @@ import uuid
|
|||
|
||||
|
||||
def generate_request_id():
|
||||
return 'req-%s' % str(uuid.uuid4())
|
||||
return b'req-' + str(uuid.uuid4()).encode('ascii')
|
||||
|
||||
|
||||
class RequestContext(object):
|
||||
|
|
Loading…
Reference in New Issue