mirror of https://gitlab.com/bashrc2/epicyon
Detect vcf extension
parent
58a13af89d
commit
3f7ec92e4b
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue