hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1693) Send HTTP trailers in request
Date Sun, 25 Oct 2015 20:22:27 GMT

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

Oleg Kalnichevski commented on HTTPCLIENT-1693:
-----------------------------------------------

Daneel,
(1) In my opinion trailers conceptually belong to the entity enclosed in HTTP message, and
not the message itself. Therefore from the API standpoint I would very much rather prefer
trailers to be exposed by HttpEntity rather than HttpMessage.  
(2) Both blocking and non-blocking transports should handle message trailers consistently.

(3) This is a terrible way to handle exceptions
{code:java}
try {
...
} catch (Exception e) {
    throw new IOException(e);
}
{code}

Oleg

> Send HTTP trailers in request
> -----------------------------
>
>                 Key: HTTPCLIENT-1693
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1693
>             Project: HttpComponents HttpClient
>          Issue Type: New Feature
>          Components: HttpClient
>            Reporter: Daneel Yaitskov
>
> 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