annotate README @ 8:3fb3e1cbffd5 default tip

Some tests.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 14 Jul 2009 03:18:57 +0400
parents 6535d94ae07d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6535d94ae07d Compose filter module skeleton, currently does nothing.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff changeset
1 Compose module for nginx.
6535d94ae07d Compose filter module skeleton, currently does nothing.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff changeset
2
6535d94ae07d Compose filter module skeleton, currently does nothing.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff changeset
3 This module allows compose several subrequests into one reply. The
6535d94ae07d Compose filter module skeleton, currently does nothing.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff changeset
4 same thing may be achieved by SSI, but unlike SSI this module will also
6535d94ae07d Compose filter module skeleton, currently does nothing.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff changeset
5 set Content-Length and allow range requests.
6535d94ae07d Compose filter module skeleton, currently does nothing.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff changeset
6
6535d94ae07d Compose filter module skeleton, currently does nothing.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff changeset
7 Basically it grabs X-Compose and X-Compose-Length headers from original
6535d94ae07d Compose filter module skeleton, currently does nothing.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff changeset
8 reply and does the following:
6535d94ae07d Compose filter module skeleton, currently does nothing.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff changeset
9
6535d94ae07d Compose filter module skeleton, currently does nothing.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff changeset
10 1. If X-Compose-Length present, sets Content-Length to it's value.
6535d94ae07d Compose filter module skeleton, currently does nothing.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff changeset
11 2. Composes multiple subrequests from X-Compose headers.
6535d94ae07d Compose filter module skeleton, currently does nothing.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff changeset
12
6535d94ae07d Compose filter module skeleton, currently does nothing.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff changeset
13 When used without X-Compose-Length it's basically identical to SSI and
6535d94ae07d Compose filter module skeleton, currently does nothing.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff changeset
14 not needed. The X-Compose-Length header must be calculated correctly by
6535d94ae07d Compose filter module skeleton, currently does nothing.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff changeset
15 somebody.
6535d94ae07d Compose filter module skeleton, currently does nothing.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff changeset
16
6535d94ae07d Compose filter module skeleton, currently does nothing.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff changeset
17 To compile nginx with compose module, use "--add-module <path>" option to
6535d94ae07d Compose filter module skeleton, currently does nothing.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff changeset
18 nginx configure.