method

check_header

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: WEBrick::HTTPResponse
check_header(header_value) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/webrick/httpresponse.rb, line 369
    def check_header(header_value)
      if header_value =~ /\r\n/
        raise InvalidHeader
      else
        header_value
      end
    end
Register or log in to add new notes.