Allow multiple fields with the same name.

Applies to form data and URL params:

    http -f url a=1 a=2
    http url a==1 a==2
This commit is contained in:
Jakub Roztocil
2012-07-24 16:46:04 +02:00
parent 9944def703
commit 7af08b6faa
5 changed files with 68 additions and 20 deletions

View File

@ -155,7 +155,7 @@ parser.add_argument(
)
parser.add_argument(
'--auth-type', choices=['basic', 'digest'],
'--auth-type', choices=['basic', 'digest'], default='basic',
help=_('''
The authentication mechanism to be used.
Defaults to "basic".