mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-17 11:01:06 +00:00
fixes
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@152 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
9cae050b8e
commit
4f9df12557
3 changed files with 7 additions and 6 deletions
|
|
@ -151,8 +151,8 @@ class HttpUrlData(UrlData):
|
|||
def _getHttpRequest(self, method="HEAD"):
|
||||
"Put request and return (status code, status text, mime object)"
|
||||
if self.proxy:
|
||||
Config.debug("DEBUG: using proxy "+self.proxy+"\n")
|
||||
host = self.proxy+":"+`self.proxyport`
|
||||
Config.debug("DEBUG: using proxy %s\n" % host)
|
||||
else:
|
||||
host = self.urlTuple[1]
|
||||
if self.urlConnection:
|
||||
|
|
|
|||
|
|
@ -80,8 +80,8 @@
|
|||
# separately if its strict or not. See the [filtering] section
|
||||
#strict=0
|
||||
# proxy parameters
|
||||
#proxy=www-proxy.uni-sb.de
|
||||
#proxyport=3128
|
||||
#proxy = www-proxy.uni-sb.de
|
||||
#proxyport = 3128
|
||||
# supply a regular expression for which warnings are printed if found
|
||||
# in any HTML files.
|
||||
#warningregex="Request failed"
|
||||
|
|
@ -99,12 +99,12 @@
|
|||
# what you wanted.
|
||||
[filtering]
|
||||
# everything with 'lconline' in the URL name is extern
|
||||
extern1=lconline 0
|
||||
# extern1=lconline 0
|
||||
# everything with 'bookmark' in the URL name is extern and we make
|
||||
# no network connection to such URLs (strict)
|
||||
extern2=bookmark 1
|
||||
# extern2=bookmark 1
|
||||
# links to our domain are intern
|
||||
internlinks=calvinsplayground\.de
|
||||
# internlinks=calvinsplayground\.de
|
||||
#allowdeny=0
|
||||
|
||||
# You can provide different user/password pairs for different link types.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<!-- base testing -->
|
||||
|
||||
<base target="_top">
|
||||
<META HTTP-equiv="refresh" content="0; url=http://www.calvinandhobbes.com/">
|
||||
<a href
|
||||
=
|
||||
"file:/etc">
|
||||
Loading…
Reference in a new issue