Re: [Gimp-developer] Updating the website for all the broken download links?

On Fri, May 2, 2014 at 5:00 AM, scl <scl gplus gmail com> wrote:


yesterday I came across
and clicked the link 'INSTALL'. It refers to,
which doesn't exist anymore in this form.
This raised a question: can the link checker also
detect dead links that don't result in an HTTP
error but in simply nothing or unreadable garbage?

Kind regards,


Hi Sven,
If you're inquiring about my link tester then yes it should get it.  The
[get_link_status function][1] is what does the actual checking.  It does a
combination of HTTP HEAD method (so it only grabs the headers instead of
content) as well has a bit of exception handling for other non-HTTP
unexpected responses.  If it can be improved I'm all ears for improving
it.  Also, I'm using python code only in a [main method][2] which means one
could write another script which will import and take
advantage of that function (using it like a library instead of an

Also, as Jehan pointed out that [INSTALL file][3] returns HTTP 404 not
found.  So a link checker should catch that.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]