[ 
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.

Oleg

> 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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to