I've having a hard time grokking the various RFCs, but I just came across a service that refused to parse Content-Disposition lines like this:
CONTENT-DISPOSITION: form-data; name=file; filename="upload.gpx"; filename*=utf-8''upload.gpx
But accepted this:
CONTENT-DISPOSITION: form-data; name="file"; filename="upload.gpx"; filename*=utf-8''upload.gpx
The only difference being the quoting of the name parameter. Is aiohttp doing the right thing here? Is there a way to force quoting to happen?
I've having a hard time grokking the various RFCs, but I just came across a service that refused to parse Content-Disposition lines like this:
But accepted this:
The only difference being the quoting of the
nameparameter. Is aiohttp doing the right thing here? Is there a way to force quoting to happen?