-
Notifications
You must be signed in to change notification settings - Fork 228
Open
Description
A simple http get can't run
Version details
jruby --version
jruby 9.2.17.0 (2.5.8) 2021-03-29 84d363da97 OpenJDK 64-Bit Server VM 11.0.11+9 on 11.0.11+9 +jit [linux-x86_64]
eventmachine (1.2.7 java)
em-http-request (1.1.7)
Test Case:
pry
[1] pry(main)> require 'eventmachine'
[2] pry(main)> require 'em-http-request'
[4] pry(main)> EventMachine.run {
[4] pry(main)* http = EventMachine::HttpRequest.new('http://google.com/').get
[4] pry(main)* }
ArgumentError: Invalid header value type
from org/ruby_http_parser/RubyHttpParser.java:478:in `header_value_type='
[5] pry(main)>
Thanks
Metadata
Metadata
Assignees
Labels
No labels