mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
refac
This commit is contained in:
parent
015342e669
commit
0214c1e66c
1 changed files with 1 additions and 0 deletions
|
|
@ -517,6 +517,7 @@ class SafeWebBaseLoader(WebBaseLoader):
|
|||
async with session.get(
|
||||
url,
|
||||
**(self.requests_kwargs | kwargs),
|
||||
allow_redirects=False,
|
||||
) as response:
|
||||
if self.raise_for_status:
|
||||
response.raise_for_status()
|
||||
|
|
|
|||
Loading…
Reference in a new issue