View Issue Details

IDProjectCategoryView StatusLast Update
0006195CentOS-6curlpublic2013-01-21 15:59
Reportermkovtun 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformOSCentOSOS Version6.3
Product Version6.3 
Target VersionFixed in Version 
Summary0006195: Curl with --digest option does not create Authorization header
DescriptionIf one executes:

curl -v -o /dev/null --digest http://user:password@www.centos.org

the output is:

...
> GET / HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.13.1.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2
> Host: www.centos.org
> Accept: */*
...

while output of:

curl -v -o /dev/null --basic http://user:password@www.centos.org

is:

...
> GET / HTTP/1.1
> Authorization: Basic dXNlcjpwYXNzd29yZA==
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.13.1.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2
> Host: www.centos.org
> Accept: */*
...

(note the absence of "Authorization:" header in the first case).
Steps To ReproduceCommands to execute:

curl -v -o /dev/null --digest http://user:password@www.centos.org

curl -v -o /dev/null --basic http://user:password@www.centos.org
Additional Informationcurl-7.19.7-26.el6_2.4.x86_64.rpm
TagsNo tags attached.

Activities

mkovtun

mkovtun

2013-01-21 15:45

reporter   ~0016311

For unknown reasons, commands were inserted incorrectly. Correct commands:

curl -v -o /dev/null --digest http://user:password@www.centos.org

curl -v -o /dev/null --basic http://user:password@www.centos.org
mkovtun

mkovtun

2013-01-21 15:53

reporter   ~0016312

Sorry... Correct commands:

{{{curl -v -o /dev/null --digest http://user:password@www.centos.org}}}

{{{curl -v -o /dev/null --basic http://user:password@www.centos.org}}}
mkovtun

mkovtun

2013-01-21 15:54

reporter   ~0016313

Once more it does not work. One more attempt:
{{{
curl -v -o /dev/null --digest http://user:password@www.centos.org
}}}
{{{
curl -v -o /dev/null --basic http://user:password@www.centos.org
}}}
mkovtun

mkovtun

2013-01-21 15:59

reporter   ~0016315

I cannot figure out how to enter text literally, without being automatically reformatted... Could anyone help me with it?

Issue History

Date Modified Username Field Change
2013-01-15 21:59 mkovtun New Issue
2013-01-21 15:45 mkovtun Note Added: 0016311
2013-01-21 15:53 mkovtun Note Added: 0016312
2013-01-21 15:54 mkovtun Note Added: 0016313
2013-01-21 15:59 mkovtun Note Added: 0016315