class Rouge::Lexers::HTTP

def self.http_methods

def self.http_methods
  @http_methods ||= %w(GET POST PUT DELETE HEAD OPTIONS TRACE PATCH)
end

def content_lexer

def content_lexer
  return Lexers::PlainText unless @content_type
  @content_lexer ||= Lexer.guess_by_mimetype(@content_type)
rescue Lexer::AmbiguousGuess
  @content_lexer = Lexers::PlainText
end