Open aspnet-hello opened 6 years ago
From @Tratcher on Tuesday, November 14, 2017 9:38:07 PM
This acme-challenge spec? https://github.com/ietf-wg-acme/acme/blob/0b172d509a725336633b9a76998e907a8e0002e3/draft-ietf-acme-acme.md#L1992 This doesn't look like static content, it looks like a dynamic challenge-response handshake.
Apple app ids look like they're domain name based, or am I missing something? https://developer.apple.com/library/content/documentation/General/Conceptual/DevPedia-CocoaCore/AppID.html
From @sebastienros on Wednesday, November 15, 2017 9:08:00 AM
This is the set of files I personally needed for Let's Encrypt, you'll notice they don't have extensions
Here is the documentation on how to configure Stripe with apple pay id (it's not apple application id, my bad)
I believe many developers would lose some time understanding why it doesn't work, or even not be able to update the app that easily as it needs a new deployment.
From @sebastienros on Wednesday, November 15, 2017 9:42:27 AM
I can confirm that there is no other way to serve these file than setting ServeUnknownFileTypes
and optionally DefaultContentType
. Registering a custom IContentTypeProvider
and adding ""
or "."
won't have any effect. So it's all or nothing in this case.
From @sebastienros on Tuesday, November 14, 2017 6:16:05 PM
Because it's missing an entry in the default
IContentTypeProvider
Some files likeacme-challenge
(used by Let's Encrypt) or Apple application ids, don't use extensions.I'd like to know if it could be reconsidered.
Copied from original issue: aspnet/StaticFiles#223