Skip to content

Commit

Permalink
Merge pull request #516 from dongweiming/fix-496
Browse files Browse the repository at this point in the history
Fix the handling of zero REQUEST_ITEM arguments 

Close  #496
  • Loading branch information
jkbrzt committed Sep 6, 2016
2 parents 5efc901 + c53a778 commit 0d08732
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions httpie/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def _split_lines(self, text, width):
'items',
metavar='REQUEST_ITEM',
nargs=ZERO_OR_MORE,
default=None,
type=KeyValueArgType(*SEP_GROUP_ALL_ITEMS),
help=r"""
Optional key-value pairs to be included in the request. The separator used
Expand Down

0 comments on commit 0d08732

Please sign in to comment.