| Home | Trees | Indices | Help |
|
|---|
|
|
1 __all__ = ['YADIS_HEADER_NAME', 'YADIS_CONTENT_TYPE', 'YADIS_ACCEPT_HEADER']
2 from openid.yadis.accept import generateAcceptHeader
3
4 YADIS_HEADER_NAME = 'X-XRDS-Location'
5 YADIS_CONTENT_TYPE = 'application/xrds+xml'
6
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(
10 ('text/html', 0.3),
11 ('application/xhtml+xml', 0.5),
12 (YADIS_CONTENT_TYPE, 1.0),
13 )
14
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Jul 29 15:11:33 2010 | http://epydoc.sourceforge.net |