hmol / LinkCrawler

Find broken links in webpage
MIT License
117 stars 59 forks source link

Define (in app.config) what http-statuscodes to treat as success #7

Closed hmol closed 8 years ago

hmol commented 8 years ago

Right now all requests that is not 1xx or 2xx is treated as failed requests. It could be useful to filter create a filter on this. Maybe you don't want http-status 302 (temporary redirect) to be reported as error. This is somehting that could be configrable in app.config.
<add key="SuccessHttpStatusCodes" value="1xx,2xx,302,303" />