microsoft / vsmarketplace

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

Verifying ownership of a domain with HTTP 308 Permanent redirect #276

Closed sebazai closed 1 year ago

sebazai commented 2 years ago

Hello,

we are trying to verify mooc.fi domain, but the Domain name field doesn't accept https://mooc.fi that redirects with HTTP 308 status code to https://www.mooc.fi/, we receive the following error:

image

rheajain commented 2 years ago

@sebazai As a validation we check that the URL you provide give a 200 OK response to the HEAD request call. We are currently not accepting any subdomain, including 'www', which is why you will also not be able to add https://www.mooc.fi/ URL as the domain. We are currently reviewing this validation. In the meantime to get unblocked, can you configure https://mooc.fi to give Http response- 200 for its HEAD call.