Skip to content

Conversation

@Sachin-8125
Copy link

  1. defaultValue was treating headers like a plain object (headers["x-csrf-token"]) while in test, it is a header's instance which return undefined. so valid tokens in headers were missed. So, use headers.get() when headers is a Headers instance.

  2. Added a raw-body fallback in the request hook.

@lauhon
Copy link
Owner

lauhon commented Oct 22, 2025

Thanks @Sachin-8125 for your contribution!

I un-skipped the tests and allowed the pipeline to run. As you see there are still some tests failing.

@lauhon
Copy link
Owner

lauhon commented Oct 22, 2025

Hey there, sorry but I'm closing this in favor of #4 which already resolved the Issue

@lauhon lauhon closed this Oct 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants