-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
Milestone
Description
Description
Different versions of System.Net.Primitives have slightly different HttpStatusCode enums - which isn't correct.
I am building a UWP app and the version of System.Net.Primitives referenced is missing status code 429
Here is the decompiled code
// Decompiled with JetBrains decompiler
// Type: System.Net.HttpStatusCode
// Assembly: System.Net.Primitives, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// MVID: 09D466F1-640B-4238-B745-5963E2F2B264
// Assembly location: C:\Users\deanc\.nuget\packages\microsoft.netcore.universalwindowsplatform\6.2.9\ref\uap10.0.15138\System.Net.Primitives.dll
namespace System.Net
{
/// <summary>Contains the values of status codes defined for HTTP.</summary>
public enum HttpStatusCode
{
..............
}
}It looks like all status codes are there apart from 429 (TooManyRequests). If you look at the System.Net.Primitives for Xamarin Forms (for example), the 429 code is there correctly.
Configuration
Regression?
Other information
Reactions are currently unavailable