The rest of the code is clean enough but the method `_post_data` might be worth revisiting: https://github.com/fsquillace/ryuk/blob/master/RyukHTTPServer.py#L85-L127