braid-http 1.3.2 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/braid-http-client.js +1 -1
- package/package.json +1 -1
package/braid-http-client.js
CHANGED
|
@@ -244,7 +244,7 @@ async function braid_fetch (url, params = {}) {
|
|
|
244
244
|
let on_error = e => {
|
|
245
245
|
on_error = () => {}
|
|
246
246
|
|
|
247
|
-
if (!params.retry ||
|
|
247
|
+
if (!params.retry || e.name === "AbortError" || e.startsWith?.('Parse error in headers')) {
|
|
248
248
|
subscription_error?.(e)
|
|
249
249
|
return fail(e)
|
|
250
250
|
}
|