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 Mon, 09 Nov 2015 18:23:10 GMT

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

Daneel Yaitskov commented on HTTPCORE-412:
------------------------------------------

I cannot return empty array from TrailerSupplier because I need names of headers before
request is sent, but trailer values are not known until body is sent.

If TrailerSupplier returning empty array then I need another approach for building Trailer
header.
 
(1) Leave Trailer construction for user and only check.
(2) Return Map<String, Supplier<List<String>>> instead Header[]
(3) Register another method in Entity for returning names of expected trailers.



> 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message