Skip to content
Browse files

remove Host element from host-meta

  • Loading branch information...
1 parent 261cb83 commit a89673f068e4b50acd95263745e6322353e8cb65 @snarfed committed Mar 15, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −2 app.py
  2. +0 −2 templates/host-meta.xrd
View
4 app.py
@@ -1,8 +1,8 @@
#!/usr/bin/env python
"""Serves the HTML front page and discovery files.
-The discovery files include /.well-known/host-meta (XRD) and
-/.well-known/host-meta (XRDS-Simple).
+The discovery files inside /.well-known/ include host-meta (XRD), and
+host-meta.xrds (XRDS-Simple), and host-meta.jrd (JRD ie JSON).
Note that XRDS-Simple is deprecated and superceded by XRD, but the
PortableContacts spec requires it specifically, so we support it as well as XRD.
View
2 templates/host-meta.xrd
@@ -1,8 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- xml -*- -->
<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0"
xmlns:hm="http://host-meta.net/xrd/1.0">
-
- <hm:Host xmlns="http://host-meta.net/xrd/1.0">{{ domain }}</hm:Host>
<Link rel="http://portablecontacts.net/spec/1.0"
href="https://{{ host }}/poco/">

0 comments on commit a89673f

Please sign in to comment.
Something went wrong with that request. Please try again.