HTTPServerSession.prepare() is version-agnostic 32/114132/4
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 22 Oct 2024 20:54:59 +0000 (22:54 +0200)
committerRobert Varga <nite@hq.sk>
Wed, 23 Oct 2024 12:07:52 +0000 (12:07 +0000)
commit5ac2907caba82c2a41fcae8126785b6b8a2eea83
tree515faec822b11026fc417e1ae13e23b1aa51dec4
parent8f5cd19b584e047522a93acb12e594a5cb08a5cc
HTTPServerSession.prepare() is version-agnostic

HttpVersion is only required for HttpResponse construction, i.e. we have
it passed to Response.toHttpResponse(HttpVersion). Remove them from
prepation path.

Change-Id: I0aeadf8a5e97ef9ffe4d98ab6a1405173a18bc83
JIRA: NETCONF-1379
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
protocol/restconf-server/src/main/java/org/opendaylight/restconf/server/RestconfSession.java
transport/transport-http/src/main/java/org/opendaylight/netconf/transport/http/HTTPServerSession.java
transport/transport-http/src/main/java/org/opendaylight/netconf/transport/http/PreparedRequest.java