9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: dexen deVries <dexen.devries@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] 9ttp
Date: Thu,  8 Sep 2011 11:22:07 +0200	[thread overview]
Message-ID: <201109081122.07497.dexen.devries@gmail.com> (raw)
In-Reply-To: <201109081109.42824.dexen.devries@gmail.com>

On Thursday 08 of September 2011 11:09:41 dexen wrote:
> you could create a 9p->http->9p bridge to work around high-latency links;
> it would gather a bunch of 9p operations (...)

the idea is NOT to serialize and send 9p packets themselves, but rather than 
to translate a bunch of 9p operations into one HTTP request/response.
send one HTTP GET with proper pathname, and obtain one HTTP 200 OK with the 
right content (possibly using Range header, possibly also requesting more data 
than strictly necessary and cache it locally to serve subsequent TReads, to 
avoid many HTTP requests for small amounts of data).

> could get a bit hairy for writes.

IIRC there's that `PATCH' HTTP method; not widely supported but could do.

TAuth could probably translate to HTTP Auth, at least to some extent. HTTP 
itself is stateless, but a pipelined HTTP connection could be equated to one 
authenticated 9p session.

-- 
dexen deVries

[[[↓][→]]]

For example, if the first thing in the file is:
   <?kzy irefvba="1.0" rapbqvat="ebg13"?>
an XML parser will recognize that the document is stored in the traditional 
ROT13 encoding.

(( Joe English, http://www.flightlab.com/~joe/sgml/faq-not.txt ))



  parent reply	other threads:[~2011-09-08  9:22 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-08  8:36 s s
2011-09-08  8:51 ` hiro
2011-09-08 16:21   ` David Leimbach
2011-09-08  9:09 ` dexen deVries
2011-09-08  9:17   ` Steve Simon
2011-09-08  9:22   ` dexen deVries [this message]
2011-09-08 12:34     ` hiro
     [not found] ` <CAFSF3XN_NcKfMzugkhoj2CTaBF6Gfdke0XstEjPqcjr9FswpPw@mail.gmail.c>
2011-09-08 12:54   ` erik quanstrom
2011-09-08 13:04     ` dexen deVries
2011-09-08 16:24       ` David Leimbach
     [not found]       ` <CAJJ04x7xC4iuqm0HOzKN-Jb3FSmg8w1E+1Lc06pYaOm_diBNsQ@mail.gmail.c>
2011-09-08 16:31         ` erik quanstrom
2011-09-08 16:56           ` John Floren
2011-09-08 16:59             ` ron minnich
2011-09-08 17:18               ` David Leimbach
     [not found]             ` <CAP6exYJSScKcavDvR55KqJyG5-GphLQxV_+-WuwzgU3CH0pV8w@mail.gmail.c>
2011-09-08 17:20               ` erik quanstrom
2011-09-08 17:28                 ` EBo
2011-09-08 19:44             ` Bakul Shah
2011-09-08 20:14               ` John Floren
2011-09-08 20:35                 ` Bakul Shah
2011-09-08 20:43                   ` Francisco J Ballesteros
2011-09-08 22:49                     ` Bruce Ellis
2011-09-08 23:19                       ` Venkatesh Srinivas
2011-09-08 23:29                         ` ron minnich
2011-09-08 23:48                           ` Venkatesh Srinivas
2011-09-09  0:18                       ` Eric Van Hensbergen
     [not found]                   ` <CAP6exYKARAZWWWXfK6myj+y47k3XmNnyF4z17zuHOZHczxDOhw@mail.gmail.c>
2011-09-08 23:32                     ` erik quanstrom
2011-09-08 23:51                       ` Venkatesh Srinivas
2011-09-09  8:13                         ` Charles Forsyth
2011-09-09  9:26                           ` Bruce Ellis
2011-09-09  9:36                             ` dexen deVries
2011-09-09 11:26                               ` Bruce Ellis
2011-09-08 20:18               ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201109081122.07497.dexen.devries@gmail.com \
    --to=dexen.devries@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).