mitmproxy/pathod/language
Thomas Kriechbaumer 55a17b2ed3 fix encoding error on *too* random bytes
This should fix things like:

def __init__(self, val):
    self.val = val.decode("string_escape")
ValueError: Trailing \ in string
pathod/language/base.py:108: ValueError

test/pathod/test_language_websocket.py:83: in fr
    return netlib.websockets.Frame.from_bytes(tutils.render(wf, settings))
test/pathod/tutils.py:123: in render
    r = r.resolve(settings)
pathod/language/websockets.py:179: in resolve
    Key(base.TokValueLiteral(os.urandom(4)))
2016-05-15 10:41:54 -07:00
..
__init__.py combine projects 2016-02-18 13:03:40 +01:00
actions.py combine projects 2016-02-18 13:03:40 +01:00
base.py combine projects 2016-02-18 13:03:40 +01:00
exceptions.py combine projects 2016-02-18 13:03:40 +01:00
generators.py combine projects 2016-02-18 13:03:40 +01:00
http2.py combine projects 2016-02-18 13:03:40 +01:00
http.py combine projects 2016-02-18 13:03:40 +01:00
message.py combine projects 2016-02-18 13:03:40 +01:00
websockets.py fix encoding error on *too* random bytes 2016-05-15 10:41:54 -07:00
writer.py combine projects 2016-02-18 13:03:40 +01:00