Using version 1.4.0 to upload file, if the request is rejected by 401 authorization, this request does not return immediately, need to wait occurring the 504 error #1185
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I use the version 1.4 of the ng2-file-uploader package to upload the file resource to server side, but unfortunately the token has been expired before executing this operation. Then invoke the uploadAll() API to send the request. Server side has been sent the 401 response, but the client side does not get the 401 response and client side wait until get the 504 error.
How can I get the 401 response if this request has been expired ?
I close this issue because of my use case issue.
Thanks a lot.