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] (HTTPCORE-412) Send HTTP trailers in request
Date Thu, 12 Nov 2015 20:38:11 GMT

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

Oleg Kalnichevski commented on HTTPCORE-412:

RFC 7230, section 4.4 does not mandate inclusion of all trailer names or even presence of
'Trailer' header. It is a recommendation (expressed as SHOULD statement).

bq. I don't understand null logic is it really give supper performance gain?

It is not really about performance but rather being defensive in case a supplier returns null
from #get.   

bq. "this" is everywhere. Is it influence of heavy experience with php or js

I have no experience of programming in php or js. This is a merely a habit that goes back
to the early days of Java when IDEs had only rudimentary syntax highlighting.


> 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-alpha1
> 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