lib/mudbug.rb in mudbug-0.9.0.1 vs lib/mudbug.rb in mudbug-1.0.0.1

- old
+ new

@@ -64,9 +64,10 @@ return resp.body end # get the content-type ct, charset = ct.split(';').map { |s| s.strip } + @lager.info { "got charset: #{charset}; ignoring" } if charset # raise if we got Content-type we didn't ask for if accept and !accept.include?(ct) raise ContentTypeError, "Asked for #{accept} but got #{ct}" end