[Solar-svn] Revision 3218

pmjones at solarphp.com pmjones at solarphp.com
Thu Jun 12 14:07:23 CDT 2008


Solar_Http_Request_Adapter: [CHG] To allow use of different authorization schemes, **do not** disallow 'Authorization' via setHeader().  Thanks, anttih, for the request leading to this.


Modified: trunk/Solar/Http/Request/Adapter.php
===================================================================
--- trunk/Solar/Http/Request/Adapter.php	2008-06-12 14:45:07 UTC (rev 3217)
+++ trunk/Solar/Http/Request/Adapter.php	2008-06-12 19:07:23 UTC (rev 3218)
@@ -491,7 +491,6 @@
      * 
      * | Header        | Method                                 |
      * | ------------- | -------------------------------------- |
-     * | Authorization | [[setBasicAuth()]]                     |
      * | Content-Type  | [[setContentType()]], [[setCharset()]] |
      * | Cookie        | [[setCookie()]]                        |
      * | HTTP          | [[setVersion()]]                       |
@@ -520,7 +519,6 @@
         // disallow certain headers
         $lower = strtolower($key);
         $notok = array(
-            'authorization' => 'setBasicAuth()',
             'content-type'  => 'setContentType()',
             'cookie'        => 'setCookie()',
             'http'          => 'setVersion()',




More information about the Solar-svn mailing list