mirror of https://github.com/hwchase17/langchain
WebBaseLoader: optionally raise exception in the case of http error (#6823)
- **Description**: this PR adds the possibility to raise an exception in the case the http request did not return a 2xx status code. This is particularly useful in the situation when the url points to a non-existent web page, the server returns a http status of 404 NOT FOUND, but WebBaseLoader anyway parses and returns the http body of the error message. - **Dependencies**: none, - **Tag maintainer**: @rlancemartin, @eyurtsev, - **Twitter handle**: jtolgyesipull/6853/head
parent
ef72a7cf26
commit
f1070de038
Loading…
Reference in New Issue