from .compat import basestring


def _transparent_params(_params):
    params = {}
    files = {}
    for k, v in _params.items():
        if hasattr(v, 'read') and callable(v.read):
            files[k] = v
        elif isinstance(v, bool):
            if v:
                params[k] = 'true'
            else:
                params[k] = 'false'
        elif isinstance(v, basestring):
            params[k] = v
        else:
            continue
    return params, files

@@ -380,16 +380,38 @@
 estring)
+ or isinstance(v, int)
 :%0A      

Include ints in params too