| 529 | set(self.args.output_options) - set(OUT_RESP_BODY)) |
| 530 | |
| 531 | def _process_pretty_options(self): |
| 532 | if self.args.prettify == PRETTY_STDOUT_TTY_ONLY: |
| 533 | self.args.prettify = PRETTY_MAP[ |
| 534 | 'all' if self.env.stdout_isatty else 'none'] |
| 535 | elif (self.args.prettify and self.env.is_windows |
| 536 | and self.args.output_file): |
| 537 | self.error('Only terminal output can be colorized on Windows.') |
| 538 | else: |
| 539 | # noinspection PyTypeChecker |
| 540 | self.args.prettify = PRETTY_MAP[self.args.prettify] |
| 541 | |
| 542 | def _process_download_options(self): |
| 543 | if self.args.offline: |