Skip to content
This repository has been archived by the owner on Apr 9, 2022. It is now read-only.
/ marill Public archive

Commit

Permalink
remove some unnecessary codes, add some new ones. split out codes int…
Browse files Browse the repository at this point in the history
…o 4 sections, now with different weight.
  • Loading branch information
lrstanley committed Oct 9, 2016
1 parent 226c32a commit f9cb1fd
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions tests/generic/status_codes.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
[{
"name": "non-ok status code",
"weight": -8.0,
"match": ["regex:code:^(400|401|403|404|405|406|408|409|410|411|412|413|414|415|416|417|422|423|424|425|426|429|431|444|451|500|502|503|507|508|509|599)$"]
"name": "bad status code",
"weight": -2.5,
"match": ["regex:code:^(400|403|404|408|409|413|414|415|416|417|422|423|424|425|426|429|431|444|451)$"]
}, {
"name": "asset non-ok status code",
"weight": -0.5,
"match": ["regex:asset_code:^(400|401|403|404|405|406|408|409|410|411|412|413|414|415|416|417|422|423|424|425|426|429|431|444|451|500|502|503|507|508|509|599)$"]
"name": "fatal status code",
"weight": -4.0,
"match": ["regex:code:^(500|501|502|503|504|505|506|507|508|509|510|511|599)$"]
}, {
"name": "asset bad status code",
"weight": -0.4,
"match": ["regex:asset_code:^(400|403|404|408|409|413|414|415|416|417|422|423|424|425|426|429|431|444|451)$"]
}, {
"name": "asset fatal status code",
"weight": -0.8,
"match": ["regex:asset_code:^(500|501|502|503|504|505|506|507|508|509|510|511|599)$"]
}]

0 comments on commit f9cb1fd

Please sign in to comment.