-
Notifications
You must be signed in to change notification settings - Fork 682
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider avoiding adding suffixes to files in MemoryStorageClient #2710
Comments
This surprised us in apify/crawlee-python#572 |
If memory serves me right I did this to make it similar to what the API does. That said my memory is rusty so take with a pinch of salt |
I also believe this is about behaving the same as the platform/API, and we surely want this to behave the same as the apify client. |
Could you elaborate what the API does? 🙂 I tried adding a key with no content type and it got stored just like that, no extension out of nowhere |
Can you check what the platform does when downloading such a file? |
hmm, then it might've just been a port from old-but-still-alive local storage 😓 |
Better to open this on slack, i am not opposed to changing this, but it would be great to first understand why it was like that (and I doubt anyone from our team will know). |
There is currently an automagic mechanism that stores binary files with a ".bin" extension and text files with a ".txt" extension. Is the comfort for Windows users worth the complexity?
The text was updated successfully, but these errors were encountered: