I actually got the HTTPSever interface working again. I figured there was still a use case for using the fewer resources required with this type of server. Pytomation would just be without the websockets and SSL.
The old one, in utility, I removed, however.
This user update actually wasn't what broke it, the Python SimpleHTTPHandler class was updated and required a couple calls to be changed. It could have happened during the Python 3 update, but I honestly haven't modified, used, or tested that simple HTTP server in a long time, so I'm not really sure.
On Tuesday, December 26, 2017 at 3:07:35 PM UTC-8, Jason wrote:
Awesome!
By all means if no one is using the simple http server delete it.
I committed the first part of the user security piece, in the "user" branch, which is based of the "python3" branch. Currently, it only allows you to restrict a user to certain devices; but the infrastructure is built, so it won't be much to add the command level security now.
I have an example on how to use in the dopeyrealm instance. It's usage will change as the command security is added, however.
Note that the plain HTTP server isn't working right now. I got it mostly working, but it fails some tests, so I have it disabled. I'm not sure if it's really needed anymore though, so I may not spend more time trying to get it working. The PytoWebSocketServer works much better and gives continuous updates, via the web-socket.
--
You received this message because you are subscribed to the Google Groups "pytomation" group.