Does RFC 1945 define a redirect field? I guess it does since redirects
seem to happen quite a bit on the web. We need automatic redirects for the
keys that shouldn't generally carry data. 

I think Scott already wrote some code for redirects that assumed the
meta-data was in a FreenetProtocol message. The only difference is we use
"=" instead of ": " and FNP allows for dotted subsets:

MIME.Content-type=foo
MIME.Encoding=bar

I have no opinion about what is the better choice. RFC 1945 will make
Freenet to HTTP gateways a lot easier, FNP is what we use for everything
else.

On Fri, Aug 18, 2000 at 12:05:22AM +1200, Stephen Blackheath wrote:
> All,
> 
> By the authority vested in me by myself, I hereby decree that MetaData
> shall be in HTTP header format, as defined in RFC 1945.  This is mainly
> because I cannot see any reason not to follow this established standard.
> 
> So, the key of the key/value pair is before a ':' and the value is after,
> e.g.
> 
>   Content-Type: text/plain
> 
> These are the field names I have defined so far - taken directly from RFC
> 1945:
> 
>   Content-Type      -  the MIME type of the file contents
>   Content-Encoding  -  the character encoding
> 
> ------------------------
> I propose to start a document containing the above information, and put it
> in the website area of CVS.  People will be able to add any field names
> they feel are necessary or useful to this document.  At some indeterminate
> time in the future we will review the document and make it official.
> 
> Field names should follow RFC-1945 and friends unless it's for a concept
> that doesn't exist in the RFCs.  It should be possible in proxies like
> FCRC to take the MetaData and add it to the HTTP header.
> 
> So that's the plan -- unless you guys think this is a crap idea, of
> course.
> 
> 
> Steve
> 
> 
> _______________________________________________
> Freenet-dev mailing list
> Freenet-dev at lists.sourceforge.net
> http://lists.sourceforge.net/mailman/listinfo/freenet-dev
> 

-- 
\oskar

_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to