jkbr/httpie — pull request #108 by nickl- (2012-11-29 07:16:57+00:00)
Title: Use $PAGER on isatty

Very well done! This is Fantastic! Finally a HTTP client that actually shows you uhm well HTTP =)

Works like a charm, pointed it at the github api and there it is, line for line at your finger tips. What more could you want? Well... if its ok to make one tiny little request. When making queries with lots of data in the body, like those github datasets, you end up at the bottom of the results completely missing the headers which just flew past and then having tol scroll up every time to get to the part you were mainly interested in.

We could do with a little paging action would you agree? Want some? All yours! =)

My contribution and gratitude: this proposal lets the $PAGER environment variable be queried for a pager of your choice or we fall back to `less`. Pipes and redirects are not affected. Streaming directly to pager so no tmp files or any such nonsense.

Commit messages have more details. Keep up the good work! =)

nJoy!