Skip to content

Commit 30fd9d9

Browse files
authored
Update options to include --raw (#205)
1 parent 8922a77 commit 30fd9d9

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

http_prompt/execution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
value_optname = "--pretty" / "--style" / "-s" / "--print" / "-p" /
9191
"--output" / "-o" / "--session-read-only" / "--session" /
9292
"--auth-type" / "--auth" / "-a" / "--proxy" / "--verify" /
93-
"--cert" / "--cert-key" / "--timeout"
93+
"--cert" / "--cert-key" / "--timeout" / "--raw"
9494
9595
cd = _ "cd" _ string? _
9696
rm = (_ "rm" _ "*" _) / (_ "rm" _ ~r"\-(h|q|b|o)" _ mutkey _)

http_prompt/options.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
('--pretty', 'Control output processing'),
3636
('--print', 'Specify what output should contain'),
3737
('--proxy', 'Specify proxy URL'),
38+
('--raw', 'Pass raw request data without extra processing'),
3839
('--session', 'Create, or reuse and update a session'),
3940
('--session-read-only', 'Create or read a session'),
4041
('--style', 'Output coloring style'),

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
click>=5.0
2-
httpie>=2.4.0
2+
httpie>=2.5.0
33
parsimonious>=0.6.2
44
prompt-toolkit>=2.0.0,<3.0.0
55
Pygments>=2.1.0

0 commit comments

Comments
 (0)