summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/relayd/args-http-filter-put.pl
blob: e1e57543b392ba470c20c5cef8fb51b92d3a9262 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# test http put with request filter

use strict;
use warnings;

our %args = (
    client => {
	func => \&http_client,
	len => 1,
	method => 'PUT',
    },
    relayd => {
	protocol => [ "http",
	    'block request path "/2"',
	],
	loggrep => qr/done/,
    },
    server => {
	func => \&http_server,
    },
    len => 1,
    md5 => "68b329da9893e34099c7d8ad5cb9c940",
);

1;