mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-09-10 11:51:57 +02:00
Preserve request body across 307/308 redirects
Clone Bytes bodies before sending so they can be resent on 307/308 Preserve redirects. For stream bodies that can't be replayed, return an error instead of silently dropping the body. Also fix dropped_body metadata to accurately reflect whether the body was actually dropped. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
ae98a71294
commit
7063c356cc
@@ -9,7 +9,6 @@ import type { Algorithm } from 'jsonwebtoken';
|
||||
import {
|
||||
buildHostedCallbackRedirectUri,
|
||||
DEFAULT_LOCALHOST_PORT,
|
||||
HOSTED_CALLBACK_URL_BASE,
|
||||
stopActiveServer,
|
||||
} from './callbackServer';
|
||||
import {
|
||||
|
||||
Reference in New Issue
Block a user