This plugin makes all HTTP/1.1 requests with a body send the “Expect: 100-continue”.
Classes and Modules
Constants
EXPECT_TIMEOUT | = | 2 |
Public Class methods
extra_options(options)
[show source]
# File lib/httpx/plugins/expect.rb 18 def extra_options(options) 19 options.merge(expect_timeout: EXPECT_TIMEOUT) 20 end
no_expect_store()
[show source]
# File lib/httpx/plugins/expect.rb 14 def no_expect_store 15 @no_expect_store ||= [] 16 end