def get_file_size(fileobj):
    currpos = fileobj.tell()
    fileobj.seek(0, 2)
    total_size = fileobj.tell()
    fileobj.seek(currpos)
    return total_size
Configures an application. This registers an `after_request` call, and
dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py/get_file_size--crossover with--dataset/ETHPy150Open ContinuumIO/flask-ldap-login/flask_ldap_login/__init__.py/LDAPLoginManager.init_app