When using basic http authentication, Authorization header should be sent with 
initial request
----------------------------------------------------------------------------------------------

                 Key: AXIS2C-716
                 URL: https://issues.apache.org/jira/browse/AXIS2C-716
             Project: Axis2-C
          Issue Type: Improvement
          Components: core/transport
    Affects Versions: 1.1.0
         Environment: This should be a platform independent change.
            Reporter: Michael Mole
             Fix For: Current (Nightly)


Currently when using basic http authentication, the Authorization header is not 
sent with the initial request.  Instead, Axis2/C waits for the server to first 
send a failed authentication response with a WWW-Authenticate header.  Then 
Axis2/C will resend the request with the required Authorization header.  If the 
user specifies the Authorization information up front, then the Authorization 
header should be sent with the initial request. 

It adds unnecessary overhead to require 2 requests to be sent every time.  Also 
in my case, my server is not sending the WWW-Authenticate, so I am unable to 
authenticate at this point.  (Although this piece is probably a bug with my 
server.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to