Web Connection
ContentTypeFromExtension
Hello Rick,
I was wondering if there's any updated version of wwUtils::ContentTypeFromExtension(lcExtension)
.
For .xslx type (for instance) I'm getting "application/octet-stream" instead of something like "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" but it's not the only file type I need to transmit.
I'd appreciate any suggestion.
Thanks,
Kathy
You can just add it to the function. I added it here, but the registry doesn't show a content type for it which is why it's failing and returning the generic application/octet-stream
.
+++ Rick ---