Ticket #201: paste-bug-201.diff
| File paste-bug-201.diff, 0.7 KB (added by Jim Dabell, 5 years ago) |
|---|
-
wdg_validate.py
diff -ru debug-old/wdg_validate.py debug-new/wdg_validate.py
old new 60 60 page = output.getvalue() 61 61 status, headers = response 62 62 v = wsgilib.header_value(headers, 'content-type') 63 if ( not v.startswith('text/html')64 and not v.startswith('text/xhtml+xml')) :63 if (v is None or (not v.startswith('text/html') 64 and not v.startswith('text/xhtml+xml'))): 65 65 # Can't validate 66 66 # @@: Should validate CSS too... but using what? 67 67 return [page]
