Skip to content

Conversation

@JordanDC2
Copy link

@JordanDC2 JordanDC2 commented Jul 2, 2025

As mentioned in the comment in the code, the digest authentication process can result in the first request erroring out naturally. This error will make the entire needle request catch/reject. If we first destroy this old request, and then make the new one, the properly authenticated digest request may proceed regardless of the fate of the original digest request.

@JordanDC2
Copy link
Author

Just bumping this in case it got lost in the mail.

@tomas
Copy link
Owner

tomas commented Oct 9, 2025

Hi! Would you mind adding a test to ensure this fixes the mentioned issue?

@JordanDC2
Copy link
Author

Hi! Would you mind adding a test to ensure this fixes the mentioned issue?

I will work on this, yes.

@JordanDC2
Copy link
Author

Thank you for suggesting I write tests for this case. It looks like from my tests that I wrote that this doesn't actually solve the issue I was having. There must be something in my request layer in my app that is not behaving properly. We can close this pull request with that knowledge.

@tomas
Copy link
Owner

tomas commented Oct 21, 2025

Got it! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants