Hi momaison,
What you are seeing is the normal authentication negotiation. The client initiates a connection, the server challenges the client for authentication and client resends the request with the necessary credentials. Once authentication occurs on a connection it is probably unlikely the server is going to challenge again for subsequent requests. Is it possible for you to first make a request that doesn't contain any payload data to establish the connection and then send after being authenticated?
I expect there to be no changes in behavior between Win7 an Win8. Our Windows Runtime implementation doesn't have any options for pre-authentication so I'm betting it behaves the same. In general our http_client API doesn't contain any options for pre-authentication and so doesn't provide any guarantees.
Steve
What you are seeing is the normal authentication negotiation. The client initiates a connection, the server challenges the client for authentication and client resends the request with the necessary credentials. Once authentication occurs on a connection it is probably unlikely the server is going to challenge again for subsequent requests. Is it possible for you to first make a request that doesn't contain any payload data to establish the connection and then send after being authenticated?
I expect there to be no changes in behavior between Win7 an Win8. Our Windows Runtime implementation doesn't have any options for pre-authentication so I'm betting it behaves the same. In general our http_client API doesn't contain any options for pre-authentication and so doesn't provide any guarantees.
Steve