Skip to content
This repository has been archived by the owner on Oct 13, 2020. It is now read-only.

Commit

Permalink
fix fetching code from URL
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Aug 23, 2010
1 parent 194a23a commit e97f829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# require 'net/https'

Net::HTTPResponse.class_eval do
def http?
def html?
content_type == 'text/html' or content_type == 'application/xhtml+xml'
end
end
Expand Down

0 comments on commit e97f829

Please sign in to comment.