cli
cli copied to clipboard
🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.
Description: This PR adds support for reading headers from a file using the @ syntax. It handles multiple headers per file and empty lines, and raises a ParseError for malformed...
## Overview This PR includes refactoring to improve code quality and maintainability. ## Refactorings Completed ### Set I (Basic Refactorings) 1. **Rename Method**: Renamed `_compute_new_headers` to `compute_merged_headers` in `sessions.py` -...
Fixes #1614 ### Problem When the HTTP method (POST, GET, etc.) was specified before optional arguments like `--auth-type`, an `AssertionError` was raised due to incorrect argument parsing. Example failing command:...
Use shlex.split in KeyValueArgType to preserve quoted multi-word values (e.g. field_name="Foo Bar"). Minimal change in httpie/cli/argtypes.py.
This PR adds a warning when the --ignore-stdin flag is used while there is data coming through stdin. This prevents confusion about why piped input is not being processed. Modified...
I deleted one of the "\n" on line 23 of writer.py to fix the issue of the two new lines that showed up. This should not only fix the issue...
This pull request adds installation instructions for pipx to the README. pipx allows installing Python CLI tools in isolated environments, keeping the global Python setup clean. Closes https://github.com/httpie/cli/issues/1636
## Description Fixes #1623 HTTPie now properly decodes percent-encoded characters in the username and password when they are provided in the URL's userinfo section. This allows credentials containing special characters...