Re: [squid-users] R: [squid-users] acl order

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Fri, 14 Aug 2009 23:31:44 +0200

fre 2009-08-14 klockan 10:21 +0200 skrev Riccardo Castellani:

> This acl 'rep_mime_type audio video' contains all mime type of video audio
> streams ?! I have to add ' req_mime_type audio video' too ?

Using rep_mime_type in http_access is a no-op (will never match) as the
reply is not yet available (audiosp & videosp). rep_mime_type acls is
only useful in http_reply_access.

req_mime_type matches the mime type of the entity enclosed in a request.
Usually there is none (GET) but on PUT/POST there will be a request
entity with it's own mime type (i.e. usually
application/x-www-form-urlencoded for POST requests posting forms data,
or for PUT a mime type matching the file the user is trying to
publish/store on his server on the Internet).

Regards
Henrik
Received on Fri Aug 14 2009 - 21:32:06 MDT

This archive was generated by hypermail 2.2.0 : Sat Aug 15 2009 - 12:00:03 MDT