This repository was archived by the owner on Dec 13, 2023. It is now read-only.
File tree 6 files changed +29
-33
lines changed
6 files changed +29
-33
lines changed Original file line number Diff line number Diff line change @@ -171,8 +171,10 @@ detailed information about breaking changes before upgrading.
171
171
` x-http-method-override ` . This was originally intended for very restricted
172
172
callers, which only supported HTTP GET and HTTP POST, but seems very
173
173
unnecessary nowadays.
174
+ The functionality will be removed in ArangoDB 3.12.
174
175
- ` --http.hide-product-header ` : whether or not to hide the ` Server: ArangoDB `
175
176
header in all responses served by arangod.
177
+ The functionality will be removed in ArangoDB 3.12.
176
178
- ` --network.protocol ` : network protocol to use for cluster-internal
177
179
communication. The protocol will be auto-decided from version 3.9 onwards.
178
180
- ` --query.allow-collections-in-expressions ` : allow full collections to be
Original file line number Diff line number Diff line change @@ -186,9 +186,11 @@ detailed information about breaking changes before upgrading.
186
186
special HTTP headers ` x-http-method ` , ` x-method-override ` or
187
187
` x-http-method-override ` . This was originally intended for very restricted
188
188
callers, which only supported HTTP GET and HTTP POST, but seems very
189
- unnecessary nowadays.
189
+ unnecessary nowadays.
190
+ The functionality will be removed in ArangoDB 3.12.
190
191
- ` --http.hide-product-header ` : whether or not to hide the ` Server: ArangoDB `
191
192
header in all responses served by arangod.
193
+ The functionality will be removed in ArangoDB 3.12.
192
194
- ` --network.protocol ` : network protocol to use for cluster-internal
193
195
communication. The protocol will be auto-decided from version 3.9 onwards.
194
196
- ` --query.allow-collections-in-expressions ` : allow full collections to be
Original file line number Diff line number Diff line change @@ -185,14 +185,6 @@ detailed information about breaking changes before upgrading.
185
185
- ` --arangosearch.consolidation-threads-idle `
186
186
- ` --rocksdb.exclusive-writes ` (was intended only as a stopgap measure to
187
187
make porting applications from MMFiles to RocksDB easier)
188
- - ` --http.allow-method-override ` : this option allows incoming HTTP POST
189
- request to override the actual HTTP method used by setting one of the
190
- special HTTP headers ` x-http-method ` , ` x-method-override ` or
191
- ` x-http-method-override ` . This was originally intended for very restricted
192
- callers, which only supported HTTP GET and HTTP POST, but seems very
193
- unnecessary nowadays.
194
- - ` --http.hide-product-header ` : whether or not to hide the ` Server: ArangoDB `
195
- header in all responses served by arangod.
196
188
- ` --network.protocol ` : network protocol to use for cluster-internal
197
189
communication. The protocol will be auto-decided from version 3.9 onwards.
198
190
- ` --query.allow-collections-in-expressions ` : allow full collections to be
Original file line number Diff line number Diff line change @@ -385,30 +385,6 @@ requests unless explicitly told to do so:
385
385
});
386
386
```
387
387
388
- ## HTTP method overriding
389
-
390
- {% hint 'warning' %}
391
- HTTP method overriding is deprecated from version 3.9.0 on and should no longer
392
- be used.
393
- {% endhint %}
394
-
395
- ArangoDB provides a startup option * --http.allow-method-override* .
396
- This option can be set to allow overriding the HTTP request method (e.g. GET, POST,
397
- PUT, DELETE, PATCH) of a request using one of the following custom HTTP headers:
398
-
399
- - ` x-http-method-override `
400
- - ` x-http-method `
401
- - ` x-method-override `
402
-
403
- This allows using HTTP clients that do not support all "common" HTTP methods such as
404
- PUT, PATCH and DELETE. It also allows bypassing proxies and tools that would otherwise
405
- just let certain types of requests (e.g. GET and POST) pass through.
406
-
407
- Enabling this option may impose a security risk, so it should only be used in very
408
- controlled environments. Thus the default value for this option is * false* (no method
409
- overriding allowed). You need to enable it explicitly if you want to use this
410
- feature.
411
-
412
388
## Load-balancer support
413
389
414
390
When running in cluster mode, ArangoDB exposes some APIs which store request
Original file line number Diff line number Diff line change @@ -53,6 +53,28 @@ larger amounts of data and was thus very limited.
53
53
Users of the ` /_api/traversal ` REST API should use
54
54
[ AQL traversal queries] ( aql/graphs-traversals.html ) instead.
55
55
56
+ ### HTTP server behavior
57
+
58
+ The following long-deprecated features have been removed from ArangoDB's HTTP
59
+ server:
60
+
61
+ - overriding the HTTP method by setting one of the HTTP headers:
62
+ - ` x-http-method `
63
+ - ` x-http-method-override `
64
+ - ` x-method-override `
65
+
66
+ This functionaltiy posed a potential security risk and was thus removed.
67
+ Previously, it was only enabled when explicitly starting the
68
+ server with the ` --http.allow-method-override ` startup option.
69
+ The functionality has now been removed and setting the startup option does
70
+ nothing.
71
+
72
+ - optionally hiding ArangoDB's ` server ` response header. This functionality
73
+ could optionally be enabled by starting the server with the startup option
74
+ ` --http.hide-product-header ` .
75
+ The functionality has now been removed and setting the startup option does
76
+ nothing.
77
+
56
78
## JavaScript API
57
79
58
80
### ` @arangodb/graph/traversal ` module
Original file line number Diff line number Diff line change @@ -157,8 +157,10 @@ replace the old features with:
157
157
` x-http-method-override ` . This was originally intended for very restricted
158
158
callers, which only supported HTTP GET and HTTP POST, but seems very
159
159
unnecessary nowadways.
160
+ The functionality will be removed in ArangoDB 3.12.
160
161
- ` --http.hide-product-header ` : whether or not to hide the ` Server: ArangoDB `
161
162
header in all responses served by arangod.
163
+ The functionality will be removed in ArangoDB 3.12.
162
164
- ` --network.protocol ` : network protocol to use for cluster-internal
163
165
communication. The protocol will be auto-decided from version 3.9 onwards.
164
166
- ` --query.allow-collections-in-expressions ` : allow full collections to be
You can’t perform that action at this time.
0 commit comments