Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not output binary content to a terminal by default (like curl) #2306

Closed
fabricereix opened this issue Jan 9, 2024 · 0 comments · Fixed by #2619
Closed

Do not output binary content to a terminal by default (like curl) #2306

fabricereix opened this issue Jan 9, 2024 · 0 comments · Fixed by #2619
Labels
enhancement New feature or request
Milestone

Comments

@fabricereix
Copy link
Collaborator

fabricereix commented Jan 9, 2024

$ hurl <<<"GET https://www.google.fr/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png"
PNG

IHDR�IDATx�
           U:Ӂ.�{A�(
�	
A@6���(�XX|dIUudz�g�usO��g�W�~fv��L�qןce��{�狿_"ֹ�`V�NwUwg�{6̝����*2yox}^|��)��444��*r7f&<
...
$ curl https://www.google.fr/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png
Warning: Binary output can mess up your terminal. Use "--output -" to tell
Warning: curl to output it to your terminal anyway, or consider "--output
Warning: <FILE>" to save to a file.
@fabricereix fabricereix added the enhancement New feature or request label Jan 9, 2024
@fabricereix fabricereix changed the title Do not output binary content by deafult Do not output binary content to a terminal by default Jan 9, 2024
@fabricereix fabricereix changed the title Do not output binary content to a terminal by default Do not output binary content to a terminal by default (like curl) Jan 9, 2024
@jcamiel jcamiel added this to the 4.3.0 milestone Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants