Include (429) TooManyRequests in HttpStatusCodeEnum
anushreeringne opened this issue · 1 comments
anushreeringne commented
Please include TooManyRequests=429 in the list of statuscodes. https://github.com/Microsoft/referencesource/blob/master/System/net/System/Net/HttpStatusCode.cs
svick commented
This status code was added in .Net Core 2.1, see dotnet/runtime#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+.