Detect vcf extension

main
Bob Mottram 2024-08-14 10:14:16 +01:00
parent 58a13af89d
commit 3f7ec92e4b
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ def show_vcard(self, base_dir: str, path: str, calling_domain: str,
path = path.split('.vcf')[0]
accept_str = 'text/vcard'
else:
accept_str = self.headers['Accept']
return False
vcard_mime_types = (
'text/vcard',
'application/vcard+xml',