cloudhead / http-console

simple, intuitive HTTP REPL — Speak HTTP like a local.
Apache License 2.0
1.35k stars 65 forks source link

A problem with POST and PUT #7

Closed eugenebolshakov closed 14 years ago

eugenebolshakov commented 14 years ago

It looks like POST and PUT requests stopped working after readline support has been added. When I try to enter data it just echoes my input and doesn't perform the request:

$ http-console google.com
> http-console 0.3.0
> Welcome, enter \help if you're lost.
> Connecting to google.com on port 80.

http://google.com:80/> POST
... whatever
whatever

Changing dataPrompt to use readline seem to fix the issue: eugenebolshakov/http-console@c263c7c989e83a1ff3c5cbd5852f16b32f435256

cloudhead commented 14 years ago

Ah good call, forgot to change that!

cloudhead commented 14 years ago

Pushed both of your changes to the registry (0.3.1)

Thanks!