Part of lp.app.browser.linkchecker View In Hierarchy
This class provides the endpoint of an Ajax call to .../+check-links. When invoked with a collection of links harvested from a page, it will check the validity of each one and send a response containing those that are invalid. Javascript on the page will set the style of invalid links to something appropriate.
The implementation can easily be extended to handle other forms by providing a method to handle the link type extracted from the json request.
Method | __init__ | Undocumented |
Method | __call__ | Undocumented |
Method | check_branch_links | Check links of the form /+code/foo/bar |
Method | check_bug_links | Checks links of the form /bugs/100 |
Method | _error_message | Undocumented |