(self)
| 267 | self.env.apply_warnings_filter() |
| 268 | |
| 269 | def _process_ssl_cert(self): |
| 270 | from httpie.ssl_ import _is_key_file_encrypted |
| 271 | |
| 272 | if self.args.cert_key_pass is None: |
| 273 | self.args.cert_key_pass = SSLCredentials(None) |
| 274 | |
| 275 | if ( |
| 276 | self.args.cert_key is not None |
| 277 | and self.args.cert_key_pass.value is None |
| 278 | and _is_key_file_encrypted(self.args.cert_key) |
| 279 | ): |
| 280 | self.args.cert_key_pass.prompt_password(self.args.cert_key) |
| 281 | |
| 282 | def _process_auth(self): |
| 283 | # TODO: refactor & simplify this method. |
no test coverage detected