Template reference page

All Resources All filters

# 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.

## Inherits

The PutSizeFilter class inherits from the following classes:

- 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 defailts to 65536 (64Kb)

`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 defailts to true

Yves Lafon
$Id: w3c.jigsaw.filters.PutSizeFilter.html,v 1.1 1997/02/17 15:19:48 ylafon Exp $