Skip to content

Conversation

@blanca-negrete
Copy link

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 httpie/cli/argparser.py to check if stdin has content when --ignore-stdin is set.
Raises a UserWarning to alert the user that the input will be ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant