human_curl
human_curl copied to clipboard
TypeError: not all arguments converted during string formatting
this is code ;
url = 'http://httpbin.org/post' files = {'file': ('report.csv', 'some,data,to,send\nanother,row,to,send\n')} r = requests.post(url, files=files)
this is error: File "D:\Python27\lib\site-packages\human_curl\utils.py", line 306, in make_curl_post_files result.append((k, checker(k2))) File "D:\Python27\lib\site-packages\human_curl\utils.py", line 297, in checker raise RuntimeError("File %s doesn't exist" % v) TypeError: not all arguments converted during string formatting
not requests compatibility ?