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
33.73k stars 3.68k forks source link

order & color ouput header fields by their categories. #374

Open mudox opened 9 years ago

mudox commented 9 years ago

As per rfc2616 section 4.2:

The order in which header fields with differing field names are received is not significant. However, it is “good practice” to send general-header fields first, followed by request-header or response-header fields, and ending with the entity-header fields.

Can httpie provide a switch to order & color the header fields by their categories. I think it would be a little feature for those HTTP protocol learners to distinguish different kind of headers at a glance.

rozuur commented 8 years ago

@jkbrzt Can I work on this?