[
https://issues.apache.org/jira/browse/HTTPCORE-412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14995808#comment-14995808
]
ASF GitHub Bot commented on HTTPCORE-412:
-----------------------------------------
GitHub user yaitskov opened a pull request:
https://github.com/apache/httpcore/pull/16
HTTPCORE-412 Trailers as headers in entity
In this version trailers are presented as 1 supplier for array of Headers.
Server side also supports trailers in response.
I had to extract content length strategy decorator and static method to
avoid duplication.
Yeah the decorator breaks a little bit contract but it's used in a private
field.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yaitskov/httpcore
trailers-as-headers-in-entity
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/httpcore/pull/16.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #16
----
commit 04b684b585fac7e1fcf73f85c161246df95ae93b
Author: Your Name <[email protected]>
Date: 2015-11-08T20:16:34Z
trailers as supplier of headers
commit e248d50b5a386b53065a7ae40cbc0e0a1409e97a
Author: Your Name <[email protected]>
Date: 2015-11-08T20:39:37Z
extract determineLength
commit ba7fd4b5cfa4700f9111ffd65947f21c5e1e0106
Author: Your Name <[email protected]>
Date: 2015-11-08T20:42:59Z
pass trailers in server response
commit f9d8ecbb23864ef2936fc63bf814bd57c5382724
Author: Your Name <[email protected]>
Date: 2015-11-08T20:44:57Z
check chunked and trailers relation in nio client
commit 69f14dc84b0c0742fdb164ae2e5c1f6b207ed2a7
Author: Your Name <[email protected]>
Date: 2015-11-08T20:59:06Z
extract CheckUndefinedDecorator
----
> Send HTTP trailers in request
> -----------------------------
>
> Key: HTTPCORE-412
> URL: https://issues.apache.org/jira/browse/HTTPCORE-412
> Project: HttpComponents HttpCore
> Issue Type: New Feature
> Components: HttpCore, HttpCore NIO
> Reporter: Daneel Yaitskov
> Priority: Minor
> Fix For: 5.0
>
>
> Currently HTTP client doesn't support sending trailers to a web server.
> The section https://tools.ietf.org/html/rfc7230#section-4.4 is need to be
> implemented.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]