lib/rouge/lexers/http.rb in rouge-1.7.2 vs lib/rouge/lexers/http.rb in rouge-1.7.3
- old
+ new
@@ -5,10 +5,10 @@
class HTTP < RegexLexer
tag 'http'
desc 'http requests and responses'
def self.methods
- @methods ||= %w(GET POST PUT DELETE HEAD OPTIONS TRACE)
+ @methods ||= %w(GET POST PUT DELETE HEAD OPTIONS TRACE PATCH)
end
def content_lexer
return Lexers::PlainText unless @content_type