W3C home > Mailing lists > Public > www-rdf-validator@w3.org > July 2009

Redirection issue

From: Paul Gearon <gearon@ieee.org>
Date: Wed, 1 Jul 2009 13:17:02 -0500
Message-ID: <a25ac1f0907011117m2cd7d572i5aad4a4f5735c20d@mail.gmail.com>
To: www-rdf-validator@w3.org

I'm not sure if this should be going to Jeremy, or even if it is, then
if he's still available to work on it (having moved last year).

If I point the RDF validator at a redirected URI provided by
oclc.purl.org then the initial response is a 303 and a content type of
text/html. Unfortunately, the validator just uses the simple
URL.openConnection() method, which doesn't follow redirections.

Following redirections may make this servlet more sophisticated than
you want, but I think it's a useful thing to do. Using something like
Apache Commons HTTP Core would make the addition of this feature

Paul Gearon
Received on Wednesday, 1 July 2009 18:17:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 20:17:00 UTC