|
Python POST command
I've built a project for the company I work in, we'll publish it later, but one of the problems of the project was using another proxy which didn't implemented a POST method (and now I know why, it was hell to find about it). So, I will make your life easier, in-order to get a POST parameters, there's socket fileobject called rfile, that's what you're looking for. Params = self.rfile.read(int(rinstance.headers["content-length"])) After that, building a POST (ssl or not) request using raw data is relatively easy. I hope it will save you a few minutes, Cheers. Comments
| ||||||