summaryrefslogtreecommitdiff
path: root/vendor/bundle/ruby/3.4.0/gems/http_parser.rb-0.8.0/lib
diff options
context:
space:
mode:
authorBenjamin Sanders <ben@Benjamins-MacBook-Pro.local>2025-10-11 10:34:24 -0400
committerBenjamin Sanders <ben@Benjamins-MacBook-Pro.local>2025-10-11 10:34:24 -0400
commit5571dc766e2143e39762ff0b47c41d1c2e154f4c (patch)
treef4f124d314a7e76c04484515aa0fd1f2e271a601 /vendor/bundle/ruby/3.4.0/gems/http_parser.rb-0.8.0/lib
parent359f3309c97fc894b63e0a295c76ab298504d635 (diff)
Vendor bundled gems for deployment
Diffstat (limited to 'vendor/bundle/ruby/3.4.0/gems/http_parser.rb-0.8.0/lib')
-rw-r--r--vendor/bundle/ruby/3.4.0/gems/http_parser.rb-0.8.0/lib/http/parser.rb1
-rw-r--r--vendor/bundle/ruby/3.4.0/gems/http_parser.rb-0.8.0/lib/http_parser.rb21
2 files changed, 22 insertions, 0 deletions
diff --git a/vendor/bundle/ruby/3.4.0/gems/http_parser.rb-0.8.0/lib/http/parser.rb b/vendor/bundle/ruby/3.4.0/gems/http_parser.rb-0.8.0/lib/http/parser.rb
new file mode 100644
index 0000000..4881b03
--- /dev/null
+++ b/vendor/bundle/ruby/3.4.0/gems/http_parser.rb-0.8.0/lib/http/parser.rb
@@ -0,0 +1 @@
+require 'http_parser'
diff --git a/vendor/bundle/ruby/3.4.0/gems/http_parser.rb-0.8.0/lib/http_parser.rb b/vendor/bundle/ruby/3.4.0/gems/http_parser.rb-0.8.0/lib/http_parser.rb
new file mode 100644
index 0000000..c69f7a0
--- /dev/null
+++ b/vendor/bundle/ruby/3.4.0/gems/http_parser.rb-0.8.0/lib/http_parser.rb
@@ -0,0 +1,21 @@
+$:.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