Async HTTP request using GIO
-
22-09-2019 - |
Question
I would appreciate an example on how to perform an async HTTP POST request using Python's GIO binding.
Edit: Example sought without using Twisted.
Solution
An example using Twisted Deferred objects is available on James Henstridge's blog.
OTHER TIPS
Sorry this is not HTTP POST (just GET), but it is using Gio to asynchronously request a URL, with a callback that processes the resulting data when it's done downloading.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow