<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.erights.org/mediawiki/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>CapTP on HTTP - Revision history</title>
		<link>http://wiki.erights.org/mediawiki/index.php?title=CapTP_on_HTTP&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.5-7</generator>
		<lastBuildDate>Fri, 31 Jul 2026 16:03:01 GMT</lastBuildDate>
		<item>
			<title>Kevin Reid:&amp;#32;yes, different mime type</title>
			<link>http://wiki.erights.org/mediawiki/index.php?title=CapTP_on_HTTP&amp;diff=1888&amp;oldid=prev</link>
			<guid>http://wiki.erights.org/mediawiki/index.php?title=CapTP_on_HTTP&amp;diff=1888&amp;oldid=prev</guid>
			<description>&lt;p&gt;yes, different mime type&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;''Motivation: [[Caja-CapTP]] attempts to reuse web protocols to minimize the amount of low-level code (parsers, ...) or access (TCP, ...) it requires.''&lt;br /&gt;
&lt;br /&gt;
This page will define a protocol for transporting a CapTP connection over HTTP.&lt;br /&gt;
&lt;br /&gt;
== Identification and security ==&lt;br /&gt;
&lt;br /&gt;
For the protection of swiss numbers and private data, this protocol should only be used over a secure connection (HTTPS, relying on certificate authorities, or [[HTTPSY]]) or a relied-upon network.&lt;br /&gt;
&lt;br /&gt;
The format of a serialized SturdyRef in this protocol is:&lt;br /&gt;
&lt;br /&gt;
 http[s[y]]://.../''arbitrary''#''swissNum''&lt;br /&gt;
&lt;br /&gt;
The [[VatID]] data is everything but the fragment, unless HTTPSY is used in which case the host:port information is omitted. {{XXX|formalize this}}&lt;br /&gt;
&lt;br /&gt;
{{XXX|specify encoding of swissNum}}&lt;br /&gt;
&lt;br /&gt;
== Connections ==&lt;br /&gt;
&lt;br /&gt;
Unless otherwise specified, all requests and responses are JSON text following Waterken conventions {{XXX|link to docs}} for types and hyperlinks, of media type (MIME type) &amp;lt;code&amp;gt;application/captp+json&amp;lt;/code&amp;gt;. ''Rationale for having a distinct media type: Web protocol design principles say that clients should not need prior knowledge that any given URL is a CapTP-related URL.''&lt;br /&gt;
&lt;br /&gt;
After a connection is established, all CapTP messages are sent as HTTP POST requests to connection-specific ''receivers'', which are web resources identified by URLs.&lt;br /&gt;
&lt;br /&gt;
To open a CapTP-on-HTTP connection, the initiating vat sends a POST request to the above URL; the request body consists of the URL of the initiator's receiver. {{XXX|Specify how the server obtains and verifies the client's VatID.}} The successful response consists of the URL of the server's receiver. {{XXX|Specify tiebreaking scheme.}} All communication from then on is symmetric.&lt;br /&gt;
&lt;br /&gt;
[[Category:Pluribus]]&lt;/div&gt;</description>
			<pubDate>Mon, 01 Jun 2009 14:38:53 GMT</pubDate>			<dc:creator>Kevin Reid</dc:creator>			<comments>http://wiki.erights.org/wiki/Talk:CapTP_on_HTTP</comments>		</item>
		<item>
			<title>Kevin Reid:&amp;#32;explain motivation a bit better</title>
			<link>http://wiki.erights.org/mediawiki/index.php?title=CapTP_on_HTTP&amp;diff=3966&amp;oldid=prev</link>
			<guid>http://wiki.erights.org/mediawiki/index.php?title=CapTP_on_HTTP&amp;diff=3966&amp;oldid=prev</guid>
			<description>&lt;p&gt;explain motivation a bit better&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 04:07, 1 June 2009&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;''Motivation: [[Caja-CapTP]] attempts to reuse web protocols to minimize the amount of low-level code it requires.''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;''Motivation: [[Caja-CapTP]] attempts to reuse web protocols to minimize the amount of low-level code &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(parsers, ...) or access (TCP, ...) &lt;/ins&gt;it requires.''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This page will define a protocol for transporting a CapTP connection over HTTP.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This page will define a protocol for transporting a CapTP connection over HTTP.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-07-31 16:03:02 --&gt;
&lt;/table&gt;</description>
			<pubDate>Mon, 01 Jun 2009 04:07:15 GMT</pubDate>			<dc:creator>Kevin Reid</dc:creator>			<comments>http://wiki.erights.org/wiki/Talk:CapTP_on_HTTP</comments>		</item>
		<item>
			<title>Kevin Reid at 03:59, 1 June 2009</title>
			<link>http://wiki.erights.org/mediawiki/index.php?title=CapTP_on_HTTP&amp;diff=3965&amp;oldid=prev</link>
			<guid>http://wiki.erights.org/mediawiki/index.php?title=CapTP_on_HTTP&amp;diff=3965&amp;oldid=prev</guid>
			<description>&lt;p&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 03:59, 1 June 2009&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;''Motivation: [[Caja-CapTP]] attempts to reuse web protocols to minimize the amount of low-level code &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;(parsers, ...) or access (TCP, ...) &lt;/del&gt;it requires.''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;''Motivation: [[Caja-CapTP]] attempts to reuse web protocols to minimize the amount of low-level code it requires.''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This page will define a protocol for transporting a CapTP connection over HTTP.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This page will define a protocol for transporting a CapTP connection over HTTP.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Connections ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Connections ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Unless otherwise specified, all requests and responses are &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;JSON text &lt;/del&gt;following Waterken conventions {{XXX|link to docs}} for types and hyperlinks&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, of media type (MIME type) &amp;lt;code&amp;gt;application/captp+json&amp;lt;/code&amp;gt;&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;''Rationale for having a distinct media &lt;/del&gt;type&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;: Web protocol design principles say that clients should not need prior knowledge that any given URL is a CapTP-related URL.''&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Unless otherwise specified, all requests and responses are &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;code&amp;gt;application/json&amp;lt;/code&amp;gt; entities &lt;/ins&gt;following Waterken conventions {{XXX|link to docs}} for types and hyperlinks. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{XXX|Should we define our own more specific mime &lt;/ins&gt;type&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;?}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;After a connection is established, all CapTP messages are sent as HTTP POST requests to connection-specific ''receivers'', which are web resources identified by URLs.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;After a connection is established, all CapTP messages are sent as HTTP POST requests to connection-specific ''receivers'', which are web resources identified by URLs.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-07-31 16:03:02 --&gt;
&lt;/table&gt;</description>
			<pubDate>Mon, 01 Jun 2009 03:59:59 GMT</pubDate>			<dc:creator>Kevin Reid</dc:creator>			<comments>http://wiki.erights.org/wiki/Talk:CapTP_on_HTTP</comments>		</item>
	</channel>
</rss>