ProxySG Content Policy Language Guide
method=
Tests the protocol method name associated with the transaction. Appropriate method names depend on the protocol. Also, a warning is issued during policy file compilation if the name is not a recognized method.
method= accepts any of the protocol specific methods accepted by admin.access=, ftp.method=,
http.method=, im.method=, or socks.method=.
It also recognizes ICP_QUERY, MMS_PLAY, and RTSP_PLAY.
It accepts, but gives a parse warning for, unrecognized methods.
Matches are done by case insensitive string comparison, so there is a performance benefit to using protocol specific tests, in addition to the extra error checking available.
A specified method can match a commonly named method from multiple protocols (for example, CONNECT).
Note: Use of method= in <Admin> layers has been replaced by admin.access=.
Syntax
method=method_name
where method_name is a valid method appropriate for the protocol of interest. Method names are
Protocol | Methods |
HTTP, HTTPS | TUNNEL |
| GET, HEAD, POST, PUT, CONNECT, DELETE, OPTIONS, TRACE (HTTP |
See "http.method=" on page 79, | 1.1/rfc 2616) |
"http.x_method=" on page 84 | PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK |
| (WebDAV/rfc 2518) |
| MKDIR INDEX RMDIR COPY MOVE (Netscape) |
| LINK UNLINK PATCH (HTTP 1.1/rfc 2068, dropped in rfc 2616) |
FTP
See "ftp.method=" on page 71.
ABOR ACCT ALLO APPE CDUP CWD DELE HELP LIST MDTM MKD MODE NLST NOOP PASS PASV PORT PWD RETR RMD RNFR RNTO SITE SIZE SMNT STOR STOU STRU SYST TYPE USER XCUP XCWD XMKD XPWD XRMD
ICP | ICP_QUERY |
instant messaging | OPEN, CREATE, JOIN, JOIN_USER, LOGIN, LOGOUT, NOTIFY_JOIN, |
| NOTIFY_QUIT, NOTIFY_STATE, QUIT, RECEIVE, |
| RECEIVE_UNKNOWN, SEND, SEND_UNKNOWN, SET_STATE |
Real Media (RTSP) | RTSP_PLAY |
SOCKS | CONNECT, BIND, UDP_ASSOCIATE |
Windows Media (MMS) | MMS_PLAY |
Windows Media HTTP streaming (HTTP GET then MMS_PLAY then MMS)
Layer and Transaction Notes
• Use in <Proxy>, <Cache>, and <Exception> layers.
104