Permalink
Browse files

Remove unneeded method

  • Loading branch information...
1 parent 6803d95 commit 1b0b7e42db026a558de8d168e1ac02337f6be0d7 @norbert norbert committed Apr 18, 2012
Showing with 2 additions and 5 deletions.
  1. +2 −5 lib/shl.rb
View
7 lib/shl.rb
@@ -33,15 +33,12 @@ def connection
def request_line
"#{verb.to_s.upcase} #{path} #{V}"
end
- def default_headers
- OrderedHash.new([
+ def headers
+ @headers||=OrderedHash.new([
['Host',@url.host],
['Connection','close']
])
end
- def headers
- @headers||=default_headers
- end
def headers=(v)
headers.merge(v)
end

0 comments on commit 1b0b7e4

Please sign in to comment.