aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-10-21 18:32:01 +0200
committerWojtek Kosior <koszko@koszko.org>2022-10-21 18:32:01 +0200
commit21453723106ef524f8a07ef2ee2ba6d59ed7eb4a (patch)
tree143b5e749b03420bccf2aa80fc4f5b7f06a1265e
parent85a0cacb28b84005d5d034a53973153d49214723 (diff)
downloadhaketilo-hydrilla-21453723106ef524f8a07ef2ee2ba6d59ed7eb4a.tar.gz
haketilo-hydrilla-21453723106ef524f8a07ef2ee2ba6d59ed7eb4a.zip
[proxy] Correct payload_resource.py module docstring
-rw-r--r--src/hydrilla/proxy/policies/payload_resource.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/hydrilla/proxy/policies/payload_resource.py b/src/hydrilla/proxy/policies/payload_resource.py
index 6695ce1..07226cb 100644
--- a/src/hydrilla/proxy/policies/payload_resource.py
+++ b/src/hydrilla/proxy/policies/payload_resource.py
@@ -26,8 +26,6 @@
# court.
"""
-.....
-
We make file resources available to HTTP clients by mapping them
at:
http(s)://<pattern-matching_origin>/<pattern_path>/<token>/
@@ -51,7 +49,7 @@ the unauthorized accesses that we can detect.
Since a web page authorized to access the resources may only be served
when the corresponding mapping is enabled (or AUTO mode is on), we
consider accesses to non-enabled mappings' resources a security breach
-and block them by responding with 403 Not Found.
+and block them by responding with 403 Forbidden.
"""
import dataclasses as dc