Unverified Commit ffcdecd8 authored by Hong Minhee's avatar Hong Minhee
Browse files

Fix TypeError: unusable in doubleKnock redirect handling

Fixed inconsistent request body handling in the second redirect path
of doubleKnock() function. Changed from request.clone().body to
await request.clone().arrayBuffer() to prevent body consumption issues
that caused "TypeError: unusable" errors during HTTP signature retry
attempts with redirects.

Also replaced destructuring with explicit property copying to ensure
proper Request constructor behavior.

Closes https://github.com/fedify-dev/fedify/issues/294



Co-Authored-By: default avatarClaude <noreply@anthropic.com>
parent df9a24f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment