Skip to content

Commit

Permalink
Update options to include --raw (httpie#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
BoboTiG authored Sep 9, 2021
1 parent 8922a77 commit 30fd9d9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion http_prompt/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
value_optname = "--pretty" / "--style" / "-s" / "--print" / "-p" /
"--output" / "-o" / "--session-read-only" / "--session" /
"--auth-type" / "--auth" / "-a" / "--proxy" / "--verify" /
"--cert" / "--cert-key" / "--timeout"
"--cert" / "--cert-key" / "--timeout" / "--raw"
cd = _ "cd" _ string? _
rm = (_ "rm" _ "*" _) / (_ "rm" _ ~r"\-(h|q|b|o)" _ mutkey _)
Expand Down
1 change: 1 addition & 0 deletions http_prompt/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
('--pretty', 'Control output processing'),
('--print', 'Specify what output should contain'),
('--proxy', 'Specify proxy URL'),
('--raw', 'Pass raw request data without extra processing'),
('--session', 'Create, or reuse and update a session'),
('--session-read-only', 'Create or read a session'),
('--style', 'Output coloring style'),
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
click>=5.0
httpie>=2.4.0
httpie>=2.5.0
parsimonious>=0.6.2
prompt-toolkit>=2.0.0,<3.0.0
Pygments>=2.1.0
Expand Down

0 comments on commit 30fd9d9

Please sign in to comment.