Esempio n. 1
0
 def convert_file_content_to_binary_for_transport(self, file_obj):
     return utils.make_file_java_byte_array_compatible(file_obj)
Esempio n. 2
0
def get_content_for_upload():
    """
    Generates a file like object with random data and returns it in a form ready to be passed
    over the wire via SOAP
    """
    return utils.make_file_java_byte_array_compatible(open('manage.py', 'r'))
Esempio n. 3
0
 def convert_file_content_to_binary_for_transport(self, file_obj):
     return utils.make_file_java_byte_array_compatible(file_obj)
Esempio n. 4
0
def get_content_for_upload():
    """
    Generates a file like object with random data and returns it in a form ready to be passed
    over the wire via SOAP
    """
    return utils.make_file_java_byte_array_compatible(open('manage.py', 'r'))