Changeset 81


Ignore:
Timestamp:
06/12/15 17:48:55 (9 years ago)
Author:
tim
Message:

boo boo in sample code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/bletchley-http2py

    r80 r81  
    152152    # TODO: Perhaps you needs something like this?
    153153    #       (See 'bletchley-decode -e ?' for a list of encodings)
    154     # return blobtools.decodeAll(['percent/mixed','base64/rfc3548'], data)
     154    # return blobtools.decodeAll(['percent/mixed','base64/rfc3548'], token)
    155155    return token
    156156
     
    158158def encode(binary):
    159159    # TODO: Perhaps you needs something like this?
    160     # return blobtools.encodeAll(['base64/rfc3548', 'percent/mixed'], data)
     160    # return blobtools.encodeAll(['base64/rfc3548', 'percent/mixed'], binary)
    161161    return binary
    162162''' % (repr(host),repr(port),repr(protocol)))
Note: See TracChangeset for help on using the changeset viewer.