blob: 055099fa2eb80031c15c0deef5b95b21006c863b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
from conf import rule
""" Rule: ExpectHeader
This rule defines a dictionary of headers and their value which the server
should expect in each request for the file to which the rule was applied.
"""
@rule()
class ExpectHeader:
def __init__(self, header_obj):
self.headers = header_obj
|