1
0
Fork 0
wget/testenv/conf/response.py
Daniel Baumann 9591974d25
Adding upstream version 1.25.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 09:40:11 +02:00

11 lines
296 B
Python

from conf import rule
""" Rule: Response
When this rule is set against a certain file, the server will unconditionally
respond to any request for the said file with the provided response code. """
@rule()
class Response:
def __init__(self, ret_code):
self.response_code = ret_code