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
It seems to me that httpcore currently does not support the use of Expect: 100-continue (unless I've missed something?).
Is that a deliberate design decision, or would a patch to add this functionality be considered?
I did a bit of research, and it seems the underlying h2 module supports this, we just have to make it available in httpcore as well. Without changes to httpcore, the only way to use this seems to be to subclass AsyncHTTP2Connection/AsyncHTTP11Connection and overwrite the handle_async_request method (while copying & pasting most of the existing implementation).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
It seems to me that httpcore currently does not support the use of
Expect: 100-continue(unless I've missed something?).Is that a deliberate design decision, or would a patch to add this functionality be considered?
I did a bit of research, and it seems the underlying h2 module supports this, we just have to make it available in httpcore as well. Without changes to httpcore, the only way to use this seems to be to subclass
AsyncHTTP2Connection/AsyncHTTP11Connectionand overwrite thehandle_async_requestmethod (while copying & pasting most of the existing implementation).Beta Was this translation helpful? Give feedback.
All reactions