http://mmgen-wallet.i2p/project/mmgen/mmgen-wallet/commit/1eb0de793855c7a1e00638d6b0969cb96ab4628e
= 200: + die(2, '\n' + err_fs.format(s=res.status_code, u=url, d=data)) + return res.content.decode() + + def get(self, *, path, timeout=None): + err_fs = 'HTTP Get failed with status code {s}\n URL: {u}' + return self.call('get', path, err_fs, timeout) + + def post(self, *, path, data, timeout=None): + err_fs = 'HTTP Post failed with status code {s}\n URL: {u}\n DATA: {d}' + return self.call('post', path, err_fs, timeout, data=data) + + def...