mirror of
https://github.com/bulwarkmail/native.git
synced 2026-11-02 08:07:11 +00:00
fix: resolve redirects in JS for client-certificate requests and pass blob deadlines to the native path (#627)
This commit is contained in:
@@ -141,7 +141,9 @@ class BulwarkClientCertModule(reactContext: ReactApplicationContext)
|
||||
connectTimeout = timeoutMs
|
||||
readTimeout = timeoutMs
|
||||
requestMethod = method
|
||||
instanceFollowRedirects = true
|
||||
// Redirects are resolved in JS (lib/client-cert.ts) so a POST
|
||||
// stays a POST and credentials never follow a cross-host hop.
|
||||
instanceFollowRedirects = false
|
||||
if (bodyBytes != null) {
|
||||
doOutput = true
|
||||
setFixedLengthStreamingMode(bodyBytes.size)
|
||||
|
||||
Reference in New Issue
Block a user