2 * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
9 #ifndef SQUID_ACLREQUESTMIMETYPE_H
10 #define SQUID_ACLREQUESTMIMETYPE_H
13 #include "acl/Strategised.h"
15 class ACLRequestMIMEType
19 static ACL::Prototype RegistryProtoype
;
20 static ACLStrategised
<char const *> RegistryEntry_
;
23 /* partial specialisation */
25 #include "acl/Checklist.h"
27 #include "acl/RequestHeaderStrategy.h"
31 ACLRequestHeaderStrategy
<HDR_CONTENT_TYPE
>::match (ACLData
<char const *> * &data
, ACLFilledChecklist
*checklist
, ACLFlags
&)
33 char const *theHeader
= checklist
->request
->header
.getStr(HDR_CONTENT_TYPE
);
35 if (NULL
== theHeader
)
38 return data
->match(theHeader
);
41 #endif /* SQUID_ACLREQUESTMIMETYPE_H */