0

The fetch API in case of authenticated requests (Digest Authentication) constantly sends OPTIONS requests. It does not authenticate those requests. It only accepts 202 responses, no 401 to get those handled with Digest. But more importantly, they are just unnecessarily banging my server all the time. How can my server respond to these OPTIONS in a way that the client will remember that and not ask all the time?

Gunther Schadow
  • 1,490
  • 13
  • 22
  • You might want to have a read through this question: https://stackoverflow.com/questions/29954037/why-is-an-options-request-sent-and-can-i-disable-it – brunson Sep 23 '22 at 18:40

0 Answers0