jira-importer opened a new issue, #1376: URL: https://github.com/apache/httpcomponents-core/issues/1376
**[Roland Weber](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rolandw)** opened **[HTTPCORE-91](https://issues.apache.org/jira/browse/HTTPCORE-91?redirect=false)** and commented Class org.apache.http.protocol.HTTP defines some constants with inappropriate names: public static final String DATE_DIRECTIVE = "Date"; public static final String SERVER_DIRECTIVE = "Server"; neither of these is a "directive" in any way. They are plain, informational headers. public static final String EXPECT_DIRECTIVE = "Expect"; public static final String CONN_DIRECTIVE = "Connection"; While these are not termed "directive" in RFC 2616, they do have that character. I suggest to rename DATE_DIRECTIVE and SERVER_DIRECTIVE to *_HEADER or *_INFO. Within core, this would affect o.a.h.protocol, related tests, and NIO example NHttpReverseProxy. cheers, Roland --- **Affects:** 4.0-alpha5 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
