Subject: | Authorization: Basic header with no credentials causes an internal server error |
This causes an issue when the headers are inflated by HTTP::ActionPack
Error:
Must provide credentials at /opt/perl5.16.3/lib/site_perl/5.16.3/HTTP/Headers/Ac
tionPack/Authorization/Basic.pm line 21.
HTTP::Headers::ActionPack::Authorization::Basic::BUILDARGS('HTTP::Header
s::ActionPack::Authorization::Basic', 'Basic', undef) called at /opt/perl5.16.3/
lib/site_perl/5.16.3/HTTP/Headers/ActionPack/Core/Base.pm line 17
[...]
HTTP::Headers::ActionPack::inflate('HTTP::Headers::ActionPack=HASH(0x4c5
5b90)', 'Plack::Request=HASH(0xcf53c28)') called at /opt/perl5.16.3/lib/site_per
l/5.16.3/Web/Machine/Util.pm line 38
Web::Machine::Util::inflate_headers('Plack::Request=HASH(0xcf53c28)') ca
lled at /opt/perl5.16.3/lib/site_perl/5.16.3/Web/Machine.pm line 37
[...]