- 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>
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: http://cpansearch.perl.org/src/TOBYINK/HTTP-Link-Parser-0.04/t/HTTP-Link-Parser.t 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 <mailto:mail@tobyinkster.co.uk> <http://tobyinkster.co.uk>
Received on Wednesday, 30 December 2009 11:41:13 UTC