method

check_header

Importance_0
v2_6_3 - Show latest stable - 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 371
    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.