httpie / cli

🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.
https://httpie.io
BSD 3-Clause "New" or "Revised" License
32.74k stars 3.68k forks source link

add local-port flag #1456

Open louisportay opened 1 year ago

louisportay commented 1 year ago

Checklist


Enhancement request

I'm trying to mimick the behaviour of the option --local-port from curl. I haven't found this option in httpie.


Problem it solves

I want to be able to request from a specific port (e.g. port nb < 1024, 'root port')


Additional information, screenshots, or code examples

If I code this flag, would it have a chance to get merged ?

louisportay commented 1 year ago

hello, would this be merged if I code the feature ?