Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Revert a bit of r129082 mistakenly committed
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Sutherland committed Jan 31, 2013
1 parent 1fa73f8 commit 714cf2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zc/resourcelibrary/publication.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def retry(self):
def _implicitResult(self, body):
#figure out the content type
content_type = self.getHeader('content-type')
if content_type is None and self._status != 304:
if content_type is None:
if isHTML(body):
content_type = 'text/html'
else:
Expand Down

0 comments on commit 714cf2a

Please sign in to comment.