You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ReadMe.md
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,8 @@ The default options are:
62
62
"no-dead-link": {
63
63
"checkRelative": true,
64
64
"baseURI": null,
65
-
"ignore": []
65
+
"ignore": [],
66
+
"preferGET": []
66
67
}
67
68
}
68
69
}
@@ -107,6 +108,22 @@ Example:
107
108
}
108
109
```
109
110
111
+
### preferGET
112
+
113
+
An array of [origins](https://url.spec.whatwg.org/#origin) to lets the rule connect to the origin's URL by `GET` instead of default `HEAD` request.
114
+
115
+
Although the rule will fall back to `GET` method when `HEAD` request is failed (status code is not between 200 and 300), in order to shorten time to run your test, you can use this option when you are sure that target origin always returns 5xx for `HEAD` request.
0 commit comments