191
212
val = 's:' + str_or_unicode.encode('base64')
192
213
# This handles UnicodeEncodeError or UnicodeDecodeError
194
215
e.encoding, val, str(e.start), str(e.end), e.reason))
195
216
except errors.TransportNotPossible, e:
196
217
if e.msg == "readonly transport":
202
223
class HelloRequest(SmartServerRequest):
209
232
class GetBundleRequest(SmartServerRequest):