Skip to content

Commit

Permalink
Fix case.
Browse files Browse the repository at this point in the history
  • Loading branch information
jugmac00 committed May 1, 2019
1 parent ef82663 commit c6c1228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZPublisher/HTTPResponse.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def setBase(self, base):
self.base = str(base)

def insertBase(self):
# Only insert a base tag if content appears to be html.
# Only insert a base tag if content appears to be HTML.
content_type = self.headers.get('content-type', '').split(';')[0]
if content_type and (content_type != 'text/html'):
return
Expand Down

0 comments on commit c6c1228

Please sign in to comment.