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

Arnaud Heritier updated MPLINKCHECK-10:
---------------------------------------

    Fix Version: 1.4

> 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: Ben Walding
>      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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to