HoneyryderChuck
e1ccae25f9
added a global store for domains not supporting 100-continue
...
it's a pretty naive implementation, as it grows unbounded, and isn't
thread safe, mostly due to negligent cost of fake fetch.
2021-01-12 23:53:18 +00:00
HoneyryderChuck
68baf484da
reshaping the way 100 responses are handled, by keeping informational status (right now working only for 100, as 101 breaks h2c)
2021-01-12 17:43:14 +00:00
HoneyryderChuck
0c646ced85
fixed expect 100 plugin delay feature
...
another bug gets fixed after adding a test... the delay of sending the
request body when server doesn't support the Expect-100 continue dance
wasn't using the proper API. Adapted the handling of the state machine
to be more readable and compliant as well.
2021-01-09 16:20:01 +00:00
HoneyryderChuck
93a4b933af
added support for :expect_threshold_size, to disable expect: 100-continue based on body bytesize sent
2020-04-26 23:52:14 +01:00
HoneyryderChuck
926ad27011
expect plugin
...
this plugin sets all body requests to send the expect-100 header before
sending any payload, a la curl. It recovers from 417 as well.
2020-03-10 18:57:42 +00:00