diff options
| author | Stefan Boberg <[email protected]> | 2025-10-02 16:19:40 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-10-02 16:19:40 +0200 |
| commit | 7838d47561dbc2dd42ec3f6b851efb710fec1842 (patch) | |
| tree | c27673e751c745f95045e794b653d8c9d0d23923 /src/zenserver-test/projectstore-tests.cpp | |
| parent | add zenremotestore lib (#540) (diff) | |
| download | zen-7838d47561dbc2dd42ec3f6b851efb710fec1842.tar.xz zen-7838d47561dbc2dd42ec3f6b851efb710fec1842.zip | |
fix for RPC replay issue (wrong content-type) (#536)
likely fall-out from HttpClient refactor. The content type used to be explicit via headers but is now taken from the `IoBuffer`
also fixed issue which meant the original request session ID would also not be propagated as intended
Diffstat (limited to 'src/zenserver-test/projectstore-tests.cpp')
| -rw-r--r-- | src/zenserver-test/projectstore-tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenserver-test/projectstore-tests.cpp b/src/zenserver-test/projectstore-tests.cpp index ce3e9dcd1..6b70a3c15 100644 --- a/src/zenserver-test/projectstore-tests.cpp +++ b/src/zenserver-test/projectstore-tests.cpp @@ -220,7 +220,7 @@ TEST_CASE("project.basic") { IoBuffer Payload = MakeCbObjectPayload([&](CbObjectWriter& Writer) { Writer.AddString("method"sv, "snapshot"sv); }); - auto Response = Http.Post("/rpc"sv, Payload, {{"Content-Type", "application/x-ue-cb"}}); + auto Response = Http.Post("/rpc"sv, Payload); REQUIRE(Response); CHECK(Response.StatusCode == HttpResponseCode::OK); } |