where is the source of initial anonymous GET when listing or deploying?

Topics: General
Jun 10, 2013 at 3:10 PM
I noticed during deploy of a package, or listing packages, NuGet clients do an initial anonymous GET to "/" - I presume this is some sort of ping check to see of the repo is online.

Can someone point me to the source code that makes this request?

-Peter
Developer
Jun 10, 2013 at 4:25 PM
That would be the GetResponseUri method of https://nuget.codeplex.com/SourceControl/latest#src/Core/Http/RedirectedHttpClient.cs. It was originally meant to resolve package sources listed as FWlinks, but NuGet's stopped using those for quite some time now.
Jun 10, 2013 at 5:27 PM
Thank you for that explanation.

So, does that mean fwlink handling ( and hence this initial anonymous get ) is planned to be removed in some future NuGet version? Should I file a ticket to request this be done?

-Peter