blob: 976a9ce966ad43ab8151769c80bced93aa359844 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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
|