leowebdav
leowebdav copied to clipboard
Requests generate 2 connections
When making a request, it is performed twice, the first time generating the authorisation request, the second completing as expected. This is a big problem when uploading large files, as the file needs to be sent twice to complete the transaction.
The order of execution is as follows:
- A new request is created and sent to the server in full.
- The request generates an auth challenge, which is sent back to the client
- The client supplies the auth details and completes the challenge
- The request restarts and then completes correctly.
- The completed callbacks are fired on the client.