swifter
swifter copied to clipboard
websocket sometimes not working in macOS sandbox app
websocket sometimes not working in macOS sandbox app
If you try to send a file in macOS, you'll hit sendfile()
which won't work. I worked around this by creating a Data
object from the file and sending that instead.
-ch