1 __all__
= ['YADIS_HEADER_NAME', 'YADIS_CONTENT_TYPE', 'YADIS_ACCEPT_HEADER']
2 from openid
.yadis
.accept
import generateAcceptHeader
4 YADIS_HEADER_NAME
= 'X-XRDS-Location'
5 YADIS_CONTENT_TYPE
= 'application/xrds+xml'
7 # A value suitable for using as an accept header when performing YADIS
8 # discovery, unless the application has special requirements
9 YADIS_ACCEPT_HEADER
= generateAcceptHeader(
11 ('application/xhtml+xml', 0.5),
12 (YADIS_CONTENT_TYPE
, 1.0),