Open anushreeringne opened 1 year ago
This status code was added in .Net Core 2.1, see https://github.com/dotnet/runtime/issues/15650. Since new APIs are not being added to .Net Framework, you'll have to use (HttpStatusCode)429
if you can't switch to .Net Core/.Net 5+.
Please include TooManyRequests=429 in the list of statuscodes. https://github.com/Microsoft/referencesource/blob/master/System/net/System/Net/HttpStatusCode.cs
https://www.rfc-editor.org/rfc/rfc6585.html#:~:text=429%20Too%20Many%20Requests%20The%20429%20status%20code,long%20to%20wait%20before%20making%20a%20new%20request.