blob: 1ac54cc415892fbfb8c96f66938aa3fd8d789ec9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
from conf import rule
""" Rule: SendHeader
Have the server send custom headers when responding to a request for the file
this rule is applied to. The header_obj object is expected to be dictionary
mapping headers to their contents. """
@rule()
class SendHeader:
def __init__(self, header_obj):
self.headers = header_obj
|