You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by yaitskov <gi...@git.apache.org> on 2015/11/08 22:06:34 UTC

[GitHub] httpcore pull request: HTTPCORE-412 Trailers as headers in entity

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 <yo...@example.com>
Date:   2015-11-08T20:16:34Z

    trailers as supplier of headers

commit e248d50b5a386b53065a7ae40cbc0e0a1409e97a
Author: Your Name <yo...@example.com>
Date:   2015-11-08T20:39:37Z

    extract determineLength

commit ba7fd4b5cfa4700f9111ffd65947f21c5e1e0106
Author: Your Name <yo...@example.com>
Date:   2015-11-08T20:42:59Z

    pass trailers in server response

commit f9d8ecbb23864ef2936fc63bf814bd57c5382724
Author: Your Name <yo...@example.com>
Date:   2015-11-08T20:44:57Z

    check chunked and trailers relation in nio client

commit 69f14dc84b0c0742fdb164ae2e5c1f6b207ed2a7
Author: Your Name <yo...@example.com>
Date:   2015-11-08T20:59:06Z

    extract CheckUndefinedDecorator

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


[GitHub] httpcore pull request: HTTPCORE-412 Trailers as headers in entity

Posted by yaitskov <gi...@git.apache.org>.
Github user yaitskov closed the pull request at:

    https://github.com/apache/httpcore/pull/16


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org