[
https://issues.apache.org/jira/browse/NIFI-14278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17929710#comment-17929710
]
ASF subversion and git services commented on NIFI-14278:
--------------------------------------------------------
Commit 01272c0794f980d6e7d6f4e95672294db8aa8337 in nifi's branch
refs/heads/main from Peter Turcsanyi
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=01272c0794 ]
NIFI-14278 Fixed custom Storage API URL in PutGCSObject
This closes #9730.
Signed-off-by: Mark Bathori <[email protected]>
> Fix custom Storage API URL in PutGCSObject
> ------------------------------------------
>
> Key: NIFI-14278
> URL: https://issues.apache.org/jira/browse/NIFI-14278
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Peter Turcsanyi
> Assignee: Peter Turcsanyi
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> NIFI-11439 introduced Storage API URL property for GSC processors but
> PutGCSObject is not working with custom endpoints.
> For some reason, the Host header in the request was set to the default
> [www.googleapis.com|http://www.googleapis.com/] which was inconsistent with
> the custom (non-default) endpoint. It seems older GCS client library versions
> did not take care of it but newer versions use the default public endpoint in
> this case. Also, the library is able to automatically set the Host header
> based in the endpoint URL, so explicit setting is not needed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)