W3C home > Mailing lists > Public > public-html@w3.org > December 2009

Re: ISSUE-27: rel-ownership - Chairs Solicit Proposals

From: Toby Inkster <tai@g5n.co.uk>
Date: Wed, 30 Dec 2009 11:40:34 +0000
To: Mark Nottingham <mnot@mnot.net>
Cc: Paul Cotton <Paul.Cotton@microsoft.com>, "public-html@w3.org" <public-html@w3.org>
Message-ID: <1262173234.2190.28.camel@ophelia2.g5n.co.uk>
On Wed, 2009-12-30 at 10:02 +1100, Mark Nottingham wrote:
> Thanks for the implementation ref; I have a very simple one in Python
> at <http://gist.github.com/210535>. Any interest in working on a test
> suite?

I have a few tests as part of HTTP::Link::Parser:


CPAN, the Perl packaging system, runs them as part of the installation
process. The test script creates a fake HTTP::Response object adds a
Base header to it and six Link headers, then parses it with
HTTP::Link::Parser. It then checks that the parser has picked up various
relationships and properties from the response headers. The tests
include absolute URIs and registered tokens in the relationships; use of
spaces in rel; and the anchor, rel, rev, hreflang, type, title and
title* parameters.

Toby A Inkster
Received on Wednesday, 30 December 2009 11:41:13 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:45:05 UTC