mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-09 15:14:45 +00:00
identity encoding
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@525 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
0579ba6988
commit
053c63a308
1 changed files with 2 additions and 1 deletions
|
|
@ -277,7 +277,8 @@ class HttpUrlData (UrlData):
|
|||
if self.headers.gettype()[:9]!="text/html":
|
||||
return 0
|
||||
encoding = self.headers.get("Content-Encoding")
|
||||
if encoding and encoding not in _supported_encodings:
|
||||
if encoding and encoding not in _supported_encodings and \
|
||||
encoding!='identity':
|
||||
self.setWarning(linkcheck._('Unsupported content encoding %s.')%\
|
||||
`encoding`)
|
||||
return 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue