module HTTPX::Plugins::Expect

  1. lib/httpx/plugins/expect.rb

This plugin makes all HTTP/1.1 requests with a body send the “Expect: 100-continue”.

gitlab.com/os85/httpx/wikis/Expect#expect

Methods

Public Class

  1. extra_options
  2. no_expect_store

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