Sha256: 0c8db5f81fdd669092096dbff6d451dd0f763a23d6973f9a5efbd6083c17dd6d

Contents?: true

Size: 472 Bytes

Versions: 31

Compression:

Stored size: 472 Bytes

Contents

$:.unshift File.expand_path('../', __FILE__)
require 'ruby_http_parser'

Http = HTTP

module HTTP
  class Parser
    class << self
      attr_reader :default_header_value_type

      def default_header_value_type=(val)
        if (val != :mixed && val != :strings && val != :arrays)
          raise ArgumentError, "Invalid header value type"
        end
        @default_header_value_type = val
      end
    end
  end
end

HTTP::Parser.default_header_value_type = :mixed

Version data entries

31 entries across 31 versions & 8 rubygems

Version Path
fluent-plugin-nuopenlineage-light-0.1.0 vendor/bundle/ruby/3.3.0/gems/http_parser.rb-0.8.0/lib/http_parser.rb
fluent-plugin-openlineage-light-0.1.4 vendor/bundle/ruby/3.3.0/gems/http_parser.rb-0.8.0/lib/http_parser.rb
fluent-plugin-openlineage-light-0.1.3 vendor/bundle/ruby/3.3.0/gems/http_parser.rb-0.8.0/lib/http_parser.rb
fluent-plugin-openlineage-0.1.0 vendor/bundle/ruby/3.3.0/gems/http_parser.rb-0.8.0/lib/http_parser.rb
fluent-plugin-google-cloud-logging-on-prem-0.1.0 vendor/ruby/3.1.0/gems/http_parser.rb-0.8.0/lib/http_parser.rb
http_parser.rb-0.8.0 lib/http_parser.rb
http_parser.rb-0.7.0 lib/http_parser.rb
midori_http_parser-0.6.2 lib/http_parser.rb
fluent-plugin-detect-memb-exceptions-0.0.2 vendor/bundle/ruby/2.0.0/gems/http_parser.rb-0.6.0/lib/http_parser.rb
fluent-plugin-detect-memb-exceptions-0.0.1 vendor/bundle/ruby/2.0.0/gems/http_parser.rb-0.6.0/lib/http_parser.rb
midori_http_parser-0.6.1.3 lib/http_parser.rb
midori_http_parser-0.6.1.3-java lib/http_parser.rb
midori_http_parser-0.6.1.2-java lib/http_parser.rb
midori_http_parser-0.6.1.2 lib/http_parser.rb
midori_http_parser-0.6.1.1-java lib/http_parser.rb
midori_http_parser-0.6.1.1 lib/http_parser.rb
midori_http_parser-0.6.1 lib/http_parser.rb
http_parser.rb-0.6.0-java lib/http_parser.rb
http_parser.rb-0.6.0 lib/http_parser.rb
http_parser.rb-0.6.0.beta.2-java lib/http_parser.rb