Posting a mutlipart-encoded file with non-ASCII characters in filename doesn't work
See original GitHub issueThe following code doesn’t actually upload any data to the server:
r = requests.post('https://gs.smuglo.li/api/statusnet/media/upload',
auth=('testbot', 'testbot'),
files={'media': open('/tmp/Снимок экрана_2016-07-27_05-15-38.png', 'rb')})
Issue Analytics
- State:
- Created 7 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Posting a mutlipart-encoded file with non-ASCII characters in ...
The following code doesn't actually upload any data to the server: r ... file with non-ASCII characters in filename doesn't work #3446.
Read more >Non-ASCII URLs and Filenames - Tiger Technologies Support
Our servers let you use filenames that contain non-ASCII characters. For example, you could name a file with an accented letter “e”: tést.html....
Read more >c# - double encoded filename in ContentDisposition non-ascii ...
I had the same problem when try to get the FileName from files with name with special chars, in my case using accents....
Read more >Non-ASCII chars in filename - Power Platform Community
Solved: Hi, I'm trying to build a flow that sends an email when a certain file is modified in Sharepoint. I have used...
Read more >identify files with non-ASCII or non-printable characters in file ...
Other than trawling through the file list laboriously is there: An easy way to list or otherwise identify these file names? A way...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Lukasa Is this Python 2? Because in Python 3 I get
@Lukasa Sure