forked from pneff/wsgiservice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NEWS
51 lines (41 loc) · 2.15 KB
/
NEWS
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Summary of the important changes per WsgiService release. To get the full
history use the commit log.
0.2.4: May 18, 2010
- Resource: Make validation more robust for the case when value is a
unicode string.
- Resource: The decorator `validate` accepts a callable `convert` used to
convert the input string values to the data format required by the
service.
- Status: Convert the Location argument for `raise_201` and others to a
string.
- Status: Correctly handle generation of the Location header when the
current request contains an extension such as .json or .xml.
- License has been clarified and is BSD.
0.2.3: January 5, 2010
- Remove Content-Type header when there is no content in the response.
- xmlserializer: Move XML serialisation into a separate module.
- Output an error message in the body of 404 responses.
- Allow specifying of the encoding to be sent with the Content Type
reponse header.
- Make compatible with WebOb 0.9.7
0.2.2: July 29, 2009
- Resource: Fix XML output for unicode strings.
0.2.1: July 15, 2009
- Routing: Use extensions defined by resource in EXTENSION_MAP dictionary
instead of the hardcoded list of '.xml' and '.json'.
- Resource: Change EXTENSION_MAP to a list instead of a dictionary, so we
can rely on the order of entries. Breaks backwards-compatibility for
resources with a custom EXTENSION_MAP.
- Resource: Remove hard-coded setting of Content-Type and Content-MD5
response headers. Move into a new generic method set_response_headers
which in turn calls the two methods set_response_content_type and
set_response_content_md5. This allows for easier overwriting in
subclasses.
- Resource: Output valid XML when serializing lists. Each child is now
<child order="N"> instead of just <N> (where N is the array index).
- Help resource: Sort the resources by name, mark parameters with
validation rules as mandatory.
- Documentation: Add a lot of additional documentation. Document the
current state of HTTP implementation.
0.2: June 29, 2009
- Initial packaged release of WsgiService.