You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closing: Expect: 100-continue is already handled by the HTTP server connectors
Checked with raw sockets against a live server (the client sends the headers, waits, then sends the 5-byte body):
Scenario
2.7 (Jetty)
3.0 (Netty)
no Expect header
200
200
Expect: 100-continue, resource reads the entity
100 Continue is sent before the body, then 200
same
Expect: 100-continue, resource does not take the entity
100 Continue, then the final status
same
3.0: NettyServerHandler answers the interim 100 Continue itself.
2.7: Jetty does it (JettyServerHelper); Restlet has no code of its own for it, which is why the Expectation data classes alone looked like a gap.
The behavior is now pinned by ExpectContinueTestCase (3 tests, on the wire) in 3.0 (#1691) and 2.7 (#1692). 2.6 was not checked.
Side note, not part of this issue: for an unknown expectation (Expect: foo=bar), 2.7 answers 417 Expectation Failed (Jetty) while 3.0 ignores it and answers normally; RFC 9110 §10.1.1 only says the server MAY answer 417.
Activity
Add a wire-level test of the Expect: 100-continue handshake (#363) (#…
Add a wire-level test of the Expect: 100-continue handshake (#363) (#…
thboileau-git commentedon Nov 23, 2026
Closing:
Expect: 100-continueis already handled by the HTTP server connectorsChecked with raw sockets against a live server (the client sends the headers, waits, then sends the 5-byte body):
ExpectheaderExpect: 100-continue, resource reads the entity100 Continueis sent before the body, then 200Expect: 100-continue, resource does not take the entity100 Continue, then the final statusNettyServerHandleranswers the interim100 Continueitself.JettyServerHelper); Restlet has no code of its own for it, which is why theExpectationdata classes alone looked like a gap.The behavior is now pinned by
ExpectContinueTestCase(3 tests, on the wire) in 3.0 (#1691) and 2.7 (#1692). 2.6 was not checked.Side note, not part of this issue: for an unknown expectation (
Expect: foo=bar), 2.7 answers417 Expectation Failed(Jetty) while 3.0 ignores it and answers normally; RFC 9110 §10.1.1 only says the server MAY answer 417.