You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2007/02/11 15:53:05 UTC
[jira] Created: (HTTPCORE-42) Expectation verification interface
Expectation verification interface
----------------------------------
Key: HTTPCORE-42
URL: https://issues.apache.org/jira/browse/HTTPCORE-42
Project: HttpComponents Core
Issue Type: Improvement
Components: HttpCore
Reporter: Oleg Kalnichevski
Fix For: 4.0-alpha4
Presently HttpCore always sends 100 in response to 'expect continue' handshake. We need to provide an interface for the HttpService to verify whether the HTTP request meets expectations and optionally to cause a non-100 status code to be sent as a response.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
[jira] Commented: (HTTPCORE-42) Expectation verification interface
Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCORE-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472801 ]
Oleg Kalnichevski commented on HTTPCORE-42:
-------------------------------------------
Added HttpExpectationVerifier interface and updated all server side HTTP services to make use of this interface during the expect:100-continue handshake to verify whether incoming requests satisfy the target server's expectations.
I still have to implement the client side 'expect:100-continue' handshake logic in the HttpCore NIO, and also would like to add some 'expect:100-continue' related test cases.
Oleg
> Expectation verification interface
> ----------------------------------
>
> Key: HTTPCORE-42
> URL: https://issues.apache.org/jira/browse/HTTPCORE-42
> Project: HttpComponents Core
> Issue Type: Improvement
> Components: HttpCore
> Reporter: Oleg Kalnichevski
> Fix For: 4.0-alpha4
>
>
> Presently HttpCore always sends 100 in response to 'expect continue' handshake. We need to provide an interface for the HttpService to verify whether the HTTP request meets expectations and optionally to cause a non-100 status code to be sent as a response.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
[jira] Resolved: (HTTPCORE-42) Expectation verification interface
Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCORE-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCORE-42.
---------------------------------------
Resolution: Fixed
The task of getting the 'expect: continue' handshaking to work with the non-blocking HTTP turned out to be far from trivial. Anyways, there is enough test coverage for the expectation verification code now to give me a reasonable degree of confidence in the sanity of the API and the reliability of the implementation.
Oleg
> Expectation verification interface
> ----------------------------------
>
> Key: HTTPCORE-42
> URL: https://issues.apache.org/jira/browse/HTTPCORE-42
> Project: HttpComponents Core
> Issue Type: Improvement
> Components: HttpCore
> Reporter: Oleg Kalnichevski
> Fix For: 4.0-alpha4
>
>
> Presently HttpCore always sends 100 in response to 'expect continue' handshake. We need to provide an interface for the HttpService to verify whether the HTTP request meets expectations and optionally to cause a non-100 status code to be sent as a response.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org