exceptionfactory commented on code in PR #11273:
URL: https://github.com/apache/nifi/pull/11273#discussion_r3289864811
##########
nifi-framework-bundle/nifi-framework/nifi-web/nifi-jetty/src/main/java/org/apache/nifi/web/server/connector/ProxyHeaderValidatorCustomizer.java:
##########
@@ -33,6 +37,8 @@
public class ProxyHeaderValidatorCustomizer implements
HttpConfiguration.Customizer {
private static final String MISDIRECTED_REQUEST_REASON = "Invalid Proxy
Host Requested";
+ private static final String REQUEST_REPLICATED_HEADER =
"request-replicated";
Review Comment:
Thanks, I looked at options and ended up creating a new `ReplicationHeader`
with just this new enum and put it in `nifi-framework-core`, as that appeared
to be a better location given the cluster-focused nature of this header.
--
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]