annando / salmon-protocol

Automatically exported from code.google.com/p/salmon-protocol
0 stars 0 forks source link

Content-Type for user's XRD is wrong #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
User's XRD is served with the wrong content-type, which may break some parsers.

---

dawnrider:activity-streams-perl sivy$ curl -i 
"http://atollia.appspot.com/user?q=steveivy@atollia.appspot.com"
HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Cache-Control: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Date: Mon, 09 Aug 2010 17:16:25 GMT
Server: Google Frontend
Transfer-Encoding: chunked

<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Subject>steveivy@atollia.appspot.com</Subject>
    <Link rel="magic-public-key" href="data:application/magic-public-key;RSA.hDq_qUbQAbcU1nY4si3CLS91WGsNuXkB4tor0wHI0pvFYKG81Sr7Y19z_-1RO2blKIxSGHfRo0OFcDNlfRVSmH6Kczk_tVvNzerjeypx-8AN5QiBrZEhi7IU88sJ1wcY0LWHdvboS-WFJuSZmMIdAZRiz7aExQgHzgkuBQfzjRs=.AQAB"/>
    <Link rel="http://salmon-protocol.org/ns/salmon-mention" href="http://atollia.appspot.com/salmon-slap" />
</XRD>

Original issue reported on code.google.com by steve...@gmail.com on 9 Aug 2010 at 5:17

GoogleCodeExporter commented 9 years ago
Yup, bug in the demo.  Will fix.

Original comment by jpanzer@google.com on 12 Aug 2010 at 9:33