fix(webui): send same-origin cookies with uploads
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
061b19afe1
commit
2732e2b3ce
3 files changed
+4
-3
No files matched your search
@@ -2444,6 +2444,7 @@ describe("binary attachment transport", () => {
|
||||
expect(request.method).toBe("POST");
|
||||
expect(request.headers.Authorization).toBe("Bearer upload-capability");
|
||||
expect(request.redirect).toBe("error");
|
||||
expect(request.credentials).toBe("same-origin");
|
||||
expect(await request.body.text()).toBe(raw);
|
||||
const frame = socket.sent.find((value) => value.includes("opaque-ref"))!;
|
||||
expect(frame.length).toBeLessThan(1024);
|
||||
|
||||
Reference in new issue
Block a user