Calls to "$batch" resource

Topics: General
Oct 29, 2012 at 4:37 PM
Edited Oct 29, 2012 at 4:37 PM

Upon reviewing a log of the requests made by the Visual Studio NuGet package manager to the main gallery (, I noticed that some requests are made to a resource named "$batch" using a POST method, and was unable to pinpoint these calls to a specific operation in the manager.

Under what circumstances does this resource get called? What is it's purpose?



Oct 29, 2012 at 5:01 PM

Http GET requests that are too long are tunneled through this. IIS has a maximum allowed query string length that defaults to 2048 after which it stops processing requests. 

Oct 29, 2012 at 5:27 PM

Thanks for the quick response.

So if I understand you correctly, a search for a large number of package names (one that would hit said limit), for example , would produce this call?