PlaywrightCapture 1.40.6__tar.gz → 1.40.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {playwrightcapture-1.40.6 → playwrightcapture-1.40.7}/PKG-INFO +1 -1
- {playwrightcapture-1.40.6 → playwrightcapture-1.40.7}/playwrightcapture/capture.py +2 -1
- {playwrightcapture-1.40.6 → playwrightcapture-1.40.7}/pyproject.toml +1 -1
- {playwrightcapture-1.40.6 → playwrightcapture-1.40.7}/LICENSE +0 -0
- {playwrightcapture-1.40.6 → playwrightcapture-1.40.7}/README.md +0 -0
- {playwrightcapture-1.40.6 → playwrightcapture-1.40.7}/playwrightcapture/__init__.py +0 -0
- {playwrightcapture-1.40.6 → playwrightcapture-1.40.7}/playwrightcapture/exceptions.py +0 -0
- {playwrightcapture-1.40.6 → playwrightcapture-1.40.7}/playwrightcapture/helpers.py +0 -0
- {playwrightcapture-1.40.6 → playwrightcapture-1.40.7}/playwrightcapture/py.typed +0 -0
- {playwrightcapture-1.40.6 → playwrightcapture-1.40.7}/playwrightcapture/socks5dnslookup.py +0 -0
|
@@ -1365,7 +1365,8 @@ class Capture():
|
|
|
1365
1365
|
not_local, message = self.__check_local_url(request.url)
|
|
1366
1366
|
if not_local:
|
|
1367
1367
|
await route.continue_()
|
|
1368
|
-
|
|
1368
|
+
else:
|
|
1369
|
+
await route.fulfill(status=404, content_type="text/plain", body=message)
|
|
1369
1370
|
|
|
1370
1371
|
if self.only_global_lookup:
|
|
1371
1372
|
# routes are processed in reverse order, the latest one in this list is processed first
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|