Skip to content

Commit 11225e5

Browse files
committed
Add missing WEB_REQUEST_HEADER constant
1 parent c0756c9 commit 11225e5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

knime_extension/src/util/knime_utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@
5151
__CELL_TYPE_MULTI_LINE = "GeoMultiLineCell"
5252
__CELL_TYPE_MULTI_POLYGON = "GeoMultiPolygonCell"
5353

54+
# The default request header to use in all nodes that perform a web request
55+
WEB_REQUEST_HEADER = {"User-Agent": "KNIME-Geospatial/1.1"}
56+
5457

5558
def geo_point_col_parameter(
5659
label: str = __DEF_GEO_COL_LABEL,

0 commit comments

Comments
 (0)