Github user m-hogue commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1985#discussion_r127464912
--- Diff:
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/HandleHttpRequest.java
---
@@ -90,10 +90,11 @@
@WritesAttribute(attribute = "http.method", description = "The HTTP
Method that was used for the request, such as GET or POST"),
@WritesAttribute(attribute = HTTPUtils.HTTP_LOCAL_NAME, description =
"IP address/hostname of the server"),
@WritesAttribute(attribute = HTTPUtils.HTTP_PORT, description =
"Listening port of the server"),
- @WritesAttribute(attribute = "http.query.string", description = "The
query string portion of hte Request URL"),
+ @WritesAttribute(attribute = "http.query.string", description = "The
query string portion of the Request URL"),
@WritesAttribute(attribute = HTTPUtils.HTTP_REMOTE_HOST, description =
"The hostname of the requestor"),
@WritesAttribute(attribute = "http.remote.addr", description = "The
hostname:port combination of the requestor"),
@WritesAttribute(attribute = "http.remote.user", description = "The
username of the requestor"),
+ @WritesAttribute(attribute = "http.protocol", description = "The
protocol used to communicate"),
--- End diff --
This actually is the `http.protocol`, so it'd be HTTP/1.1 or HTTP/2 as you
noted. While potentially worthwhile, i'd admittedly added this while searching
for a way to validate the SSL protocol negotiated by the client & server. I can
drop the property if it's not wanted.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---