mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
09e0dc5e9b
commit
533473afb8
|
@ -31,6 +31,7 @@ def show_vcard(self, base_dir: str, path: str, calling_domain: str,
|
||||||
accept_str = 'text/vcard'
|
accept_str = 'text/vcard'
|
||||||
else:
|
else:
|
||||||
accept_str = self.headers['Accept']
|
accept_str = self.headers['Accept']
|
||||||
|
print('vcard Accept: ' + accept_str)
|
||||||
if 'text/vcard' not in accept_str and \
|
if 'text/vcard' not in accept_str and \
|
||||||
'application/vcard+xml' not in accept_str:
|
'application/vcard+xml' not in accept_str:
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in New Issue