Live data from Hacker News

Htty is a console application for interacting with HTTP servers.

htty.github.com

21–24 of 24 posts

Re: Htty is a console application for interacting with HTTP servers.

#21

Earlier quoted context omitted.

um yeah - what's wrong with plan ole http? curl has never come up short.

The aim of the project was to make htty an incremental advance over curl by layering aspects of a browser UX on top of it. What you get with htty that curl doesn't give you is primarily a session, and consequently a history. The other features are icing on the cake. In the near future, the difference will be more striking. The ability to parse and build requests on various media types will make htty even better at th…

definitely a cool project. Cool to experiment with UX on top of http. I guess the thing that rubbed me the wrong way initially is I really like seeing request / response. As a developer I learn alot from watching those; and anytime I have bugs in my http it's typically a header problem, so I like seeing those front and center.

Re: Htty is a console application for interacting with HTTP servers.

#22
post #20

Two gripes. 1) If I hit Ctrl-D - it says " * Type qui[t] to quit." If you know what I want to do, DO IT.. don't argue with me. Why would you write special extra code that specifically recognizes what the user wants to do and then tell them to do it another way? 2) putting a character in [X] usually means X is the character to hit. The help text is difficult to parse compared to what's normal.... Oh - I like the tool…

1) Agreed, that is a bit annoying, but I thought it less annoying than losing your entire session by quitting if you inadvertently type Ctrl-D twice to terminate input to the ‘body-set’ command.

2) The brackets are used similarly to their meaning in EBNF to denote optional elements. The expression ‘r[euse]’ means you can type ‘r’, ‘re’, ‘reu’, or ‘reus’ as aliases for the ‘reuse’ command.

Re: Htty is a console application for interacting with HTTP servers.

#23
post #18

From the site: > Response codes between 500 and 599 appear flashing black on yellow to indicate a server error Note that flashing stuff is one of the major sins of UI design, on websites as well as console applications. Even on really serious errors, flashing text is just distracting and makes the oh so important information hard to read. I strongly recommend to remove the blinking. Instead, you could rethink the col…

I used blinking text not so much in the “Danger, Will Robinson!” sense but rather to suggest that the response is not idempotent. Repeating the same request could result in a different, non-error response.

User-configurable color schemes are in the works.

Re: Htty is a console application for interacting with HTTP servers.

#24
post #18

From the site: > Response codes between 500 and 599 appear flashing black on yellow to indicate a server error Note that flashing stuff is one of the major sins of UI design, on websites as well as console applications. Even on really serious errors, flashing text is just distracting and makes the oh so important information hard to read. I strongly recommend to remove the blinking. Instead, you could rethink the col…

I used blinking text not so much in the “Danger, Will Robinson!” sense but rather to suggest that the response is not idempotent. Repeating the same request could result in a different, non-error response. User-configurable color schemes are in the works.

> User-configurable color schemes are in the works.

That's great, but providing sensible defaults is more important than making them configurable.

Post reply on HN