All resources All frames

# PutSizeFilter

The PutSizeFilter allow you to control the size of documents that can be PUT on the filtered resource. The put-size attribute indicates the maximum size in bytes of the accepted documents. The strict attribute is used to know how to handle requests without a Content-Lenght: field.

## Inerits

The PutSizeFilter class inerits from the following classes:

- Resource
- FramedResource
- ResourceFrame
- ResourceFilter

## Attributes description

The PutSizeFilter defines the following attributes:

- put-size
- strict

`put-size`

semantics
  Maximum size of a PUT document in bytes.
type
  This attribute is an editable IntegerAttribute
default value
  This attribute defaults to 65536.

`strict`

semantics
  If set to true the PUT requests that don't have a valid Content-Length: field are dropped.
type
  This attribute is an editable BooleanAttribute
default value
  This attribute defaults to true.

Jigsaw Team
$Id: org.w3c.jigsaw.filters.PutSizeFilter.html,v 1.3 1998/03/27 08:18:44 bmahe Exp $