You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Arnaud Heritier (JIRA)" <ji...@codehaus.org> on 2006/01/14 02:01:02 UTC

[jira] Closed: (MPLINKCHECK-10) allo 303 and 304 http status to be validated

     [ http://jira.codehaus.org/browse/MPLINKCHECK-10?page=all ]
     
Arnaud Heritier closed MPLINKCHECK-10:
--------------------------------------

    Resolution: Fixed

Fixed with MPLINKCHECK-25

> allo 303 and 304 http status to be validated
> --------------------------------------------
>
>          Key: MPLINKCHECK-10
>          URL: http://jira.codehaus.org/browse/MPLINKCHECK-10
>      Project: maven-linkcheck-plugin
>         Type: Improvement

>  Environment: maven rc2
>     Reporter: Kees Jongenburger
>     Assignee: Arnaud Heritier
>      Fix For: 1.4

>
> Original Estimate: 10 minutes
>         Remaining: 10 minutes
>
> The linkchecker flows MOVED_TEMPORARILY moved links but sikps MOVED_PERMANENTLY while there are as valid as   MOVED_TEMPORARILY
> example:
> http://www.mmbase.org/license
> resolution:
> add
> import org.apache.commons.httpclient.HttpStatus;
> to the class imports
> in HTTPLinkValidator at row 108 change the code to
> if (gm.getStatusCode() == HttpStatus.SC_MOVED_TEMPORARILY || gm.getStatusCode() == HttpStatus.SC_MOVED_PERMANENTLY)
> (and a small cleanup )
> row 121
> if (gm.getStatusCode() == HttpStatus.SC_OK)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org