Use requests_toolbelt to POST files if available before resorting to poster.