Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
NuGet.org protocol changes #10
Discussion issue: NuGet/NuGetGallery#4805
Starting November 10th 2017, NuGet.org will only accept push requests that implement X-NuGet-Protocol-Version: 4.1.0 and identifies so to NuGet.org through the corresponding header (as explained below).
NuGet service has been growing exponentially over the last few months: NuGet.org is closing in on 5 billion packages served (up from a billion packages just a year ago). With this enhanced usage and scope, we would like to ensure that the end users get the desired behavior across clients. As explained in the Roadmap blog post, we will also be introducing several security features to NuGet eco-system. This will come with various NuGet service protocol improvements.
In order to ensure that the end consumers use the right protocol to interact with NuGet.org, we would like the NuGet clients to identify the protocol version they use when they call NuGet.org APIs. This will allow NuGet.org to introduce changes in a non-breaking way for the old clients.
Who is the customer?
All NuGet clients should implement NuGet.org protocol 4.1.0 and state the protocol version in the header of API requests to push packages to NuGet.org:
Important: Starting November 10th 2017, NuGet.org will only accept push requests that implement X-NuGet-Protocol-Version: 4.1.0 and identifies so to NuGet.org through the corresponding header (as mentioned above).
What is NuGet protocol 4.1.0?
The details of this protocol and usage can be found in the documentation: NuGet Protocol versions