hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daneel Yaitskov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCORE-412) Send HTTP trailers in request
Date Sun, 08 Nov 2015 19:13:11 GMT

    [ https://issues.apache.org/jira/browse/HTTPCORE-412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14995760#comment-14995760

Daneel Yaitskov commented on HTTPCORE-412:

About 2. I thought about Supplier<Header[]> solution but it doesn't express contract
between Trailer header and trailers.
Current solution generates Trailer automatically because keys are always known. 

For 2 there are options: 
(1) Leave Trailer construction for user and only check.
(2) Return Header[] with empty values if it's called before body is sent.
(3) Register another method in Entity for returning names of expected trailers.
All these options looks less appropriate than current one.
Which one would you like to use?

> 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

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

View raw message