Use OPTIONS * for upgrade 75/113475/2
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 9 Sep 2024 15:09:50 +0000 (17:09 +0200)
committerIvan Hrasko <ivan.hrasko@pantheon.tech>
Wed, 11 Sep 2024 06:23:30 +0000 (06:23 +0000)
commit440708e522ad9383f42355471e51f60c22e785af
treee5af57fe996f19e826f72165a5d4e37275146e16
parentdf59413f635c5202f49c9382d2b23a945708e927
Use OPTIONS * for upgrade

GET / is a resource operation, which may result a ton of data, be
subject to access control, or actually be unimplemented.

Use OPTIONS *, which is well-documented to be a 'no-op' kind of HTTP
request.

Change-Id: I9e112ffa1817d09b77109171a3a221ed34c9bf6b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
transport/transport-http/src/main/java/org/opendaylight/netconf/transport/http/HTTPClient.java