make detection of "Basic" case insenitive as perl RFC2617
Merge pull request #293 from 2shortplanks/master

make "Basic" detection insensitive as per RFC2617
added backlog option
Merge pull request #295 from xaicron/master

added backlog option
Checking in changes prior to tagging of version 0.9989.

Changelog diff is:

diff --git a/Changes b/Changes
index f87158c..2d5bf29 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,13 @@ Revision history for Perl extension Plack

 Take a look at http://github.com/miyagawa/Plack/issues for the planned changes before 1.0 release.

+0.9989  Thu Jun 21 13:39:11 PDT 2012
+    [IMPROVEMENTS]
+        - Support streaming in Head middleware (wreis)
+        - Document middleware prefixing (Jon Swartz)
+        - Make Basic authentication detection case insensitive per RFC (Mark Fowler)
+        - Added backlog option to FCGI handler (xaicron)
+
 0.9988  Fri May 11 12:25:09 CEST 2012
     [BUG FIXES]
         - Fixes HTTP_HOST in HTTP::Message::PSGI #287 (doy)
Fix parsing of QUERY_STRING for valueless keys.

For a given 'QUERY_STRING: foo&bar=baz' the 'foo' parameter is not
accessible in Plack::Request::query_parameters(). There are a number of
applications using this pattern as a short way of passing information to
the handling code. This patch changes Plack::Request behaviour so that
foo makes its way in the underlaying Hash::MultiValue object as a key
with the empty string value. Application developers can now test the
existence of that key.
Merge pull request #298 from yannk/master

Fix parsing of QUERY_STRING for valueless keys.
issue 301; support for max-age in cookies
issue 301; fix documentation
Pass protocol to the Runner callback. Fixes #306
Merge branch 'master' of github.com:miyagawa/Plack
Merge pull request #305 from remorse/master

FIx for issue 301, adding support for max-age attribute to cookies
Add documentation for encode_html
Add HTTP_AUTHORIZATION to $env before calling run_app. This is necessary as Catalyst::Request filters out headers that don't match /^(HTTP|CONTENT|COOKIE)/i, and without the Authorization header Catalyst::Authentication::Credential::HTTP can't do its work.
Merge pull request #310 from ray1729/master

Fix for Plack::Handler::FCGI and Catalist::Authentication::Credential::HTTP
don't use hard tab
document how to pass Authorization
Stop special casing COOKIE $env
Checking in changes prior to tagging of version 0.9990.

Changelog diff is:

diff --git a/Changes b/Changes
index 2d5bf29..8f49642 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,17 @@ Revision history for Perl extension Plack

 Take a look at http://github.com/miyagawa/Plack/issues for the planned changes before 1.0 release.

+0.9990  Wed Jul 18 11:12:07 PDT 2012
+    [INCOMPATIBILE CHANGES]
+        - Plack::Request changes the way it parses QUERY_STRING for valueless keys such as
+          "?a&b=1". Now "a" becomes part of query_parameters with empty string as its value (yannk)
+
+    [IMPROVEMENTS]
+        - Support max-age options in Plack::Response cookies (remorse)
+        - Pass correct protocol from HTTP::Server::PSGI to display https URL correctly (siracusa)
+        - Copy Authorization header from FastCGI handler (ray1729)
+        - Stop special casing COOKIE environment variable in Plack::Request headers (doy)
+
 0.9989  Thu Jun 21 13:39:11 PDT 2012
     [IMPROVEMENTS]
         - Support streaming in Head middleware (wreis)
Add middleware to fix bad IIS7 bad behaviour.

https://rt.cpan.org/Ticket/Display.html?id=78377

Only applies to IIS version 7, with keepalives enabled.

IIS will happily read a 3XX response, and do the redirect,
sending it's own body to the client. The body of your redirect is
never read, meaning that the next client connection gets this
prepended to the HTTP header, which results in it getting
something insane looking, and generating a 500 page.

Apply with something like:

$psgi_app = Plack::Middleware::Conditional->wrap(
    $psgi_app,
    builder => sub { Plack::Middleware::IIS7KeepAliveFix->wrap($_[0]) },
    condition => sub {
        my ($env) = @_;
        return unless $env->{SERVER_SOFTWARE} && $env->{SERVER_SOFTWARE} =~ m!IIS\/7\.[0-9]!; 1; }, );
    },
);