microsoft / vsmarketplace

Customer feedback and issue tracker repository for Visual Studio Marketplace
MIT License
39 stars 12 forks source link

https://marketplace.visualstudio.com rejects HTTP HEAD requests #832

Open sanmai-NL opened 6 months ago

sanmai-NL commented 6 months ago

Describe the bug Dead link checkers and other tools may use efficient HTTP HEAD requests instead of GET requests. Currently, the webserver/-proxy in front of https://marketplace.visualstudio.com rejects these. This results in unnecessary load on https://marketplace.visualstudio.com, downstream effects are a UX and carbon emission impact.

To Reproduce Steps to reproduce the behavior:

  1. Use curl -head --verbose --fail https://marketplace.visualstudio.com
  2. Response code is 404.

Expected behavior Return HTTP status response code 200 for valid URLs.

madhurivadaligithub commented 6 months ago

Thank you for contacting Visual Studio Marketplace Team. We will get back to you with a response as quickly as possible.

-Regards, VS Marketplace Team