summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/relayd/args-http-filter-put-contentlength.pl
blob: 62a234943bbb632d79939f30efac5f184e8fcc0a (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
26
27
28
# test http put with request filter and request contentlength

use strict;
use warnings;

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

1;