cli icon indicating copy to clipboard operation
cli copied to clipboard

Shortcut for common User-Agent headers

Open gregbacchus opened this issue 6 years ago • 2 comments

What would be useful for me is to have a shortcut for common User-Agent headers

e.g.

http GET google.com --chrome

gregbacchus avatar Feb 28 '19 21:02 gregbacchus

yeah, it would be great if we have Android, iPad, iPhone, phone, touch, desktop etc

snowman avatar Apr 19 '19 03:04 snowman

I have tried this issue. To try it out, I added an option to specify the User-Agent for chrome. httpie1

In my implementation, this User-Agent String is defined as a constant. For this reason, it may be difficult to always display the latest User-Agent string. httpie2

t-mangoe avatar Oct 22 '22 00:10 t-mangoe