224:4084122d73cc
|
2004-09-01 |
paulb |
changeset
files
shortlog
graph
|
[project @ 2004-09-01 22:51:40 by paulb]
Changed the ContentType class so that objects have a media_type attribute
(previously content_type) and can be converted to an appropriate header
value using the str function. This removes the need for a
format_content_type method in the Transaction class and changes the
implementation of the parse_content_type method.
Added a default character set (default_charset) attribute to the
Transaction class to cover cases where no character set has been specified
in the content type. This permits naive usage of the stream, at least.
Fixed the get_response_stream method in Transaction so that only the
response content type (and the default character set) controls the encoding
of the output stream. If the request content type's character set is
secretly involved, this can cause inconsistencies with the stated response
content type (where no character set may have been stated). Therefore, it
is left to applications to set the response content type correctly. |
|
|
WebStack/BaseHTTPRequestHandler.py WebStack/CGI.py WebStack/Generic.py WebStack/JavaServlet.py WebStack/ModPython.py WebStack/Twisted.py WebStack/Webware.py WebStack/Zope.py
|
|
223:629909b81c9f
|
2004-08-31 |
paulb |
changeset
files
shortlog
graph
|
[project @ 2004-08-31 18:28:41 by paulb]
Added explicit character set usage. |
|
|
examples/Common/Unicode/__init__.py
|
|
222:2f2d24738478
|
2004-08-31 |
paulb |
changeset
files
shortlog
graph
|
[project @ 2004-08-31 18:28:33 by paulb]
Added an extra path field in the form example to demonstrate character set
issues. |
|
|
examples/Common/Form/__init__.py
|
|
221:dd031a30ecb5
|
2004-08-31 |
paulb |
changeset
files
shortlog
graph
|
[project @ 2004-08-31 18:28:09 by paulb]
Fixed encoding usage in body fields processing.
Removed the default charset from ContentType since it is not necessarily
helpful. |
|
|
WebStack/BaseHTTPRequestHandler.py WebStack/CGI.py WebStack/Generic.py WebStack/ModPython.py WebStack/Twisted.py WebStack/Webware.py WebStack/Zope.py
|
|
220:239a52be1330
|
2004-08-30 |
paulb |
changeset
files
shortlog
graph
|
[project @ 2004-08-30 18:24:13 by paulb]
Added a Unicode example. |
|
|
examples/BaseHTTPRequestHandler/UnicodeApp.py examples/Common/Unicode/__init__.py examples/Twisted/UnicodeApp.py
|
|
219:a451f549b73d
|
2004-08-30 |
paulb |
changeset
files
shortlog
graph
|
[project @ 2004-08-30 18:24:00 by paulb]
Added a default charset to ContentType. This should avoid many accidental
UnicodeError situations - developers might now only encounter such things
when setting inappropriate charsets. |
|
|
WebStack/Generic.py
|
|
218:53bb6caa685f
|
2004-08-29 |
paulb |
changeset
files
shortlog
graph
|
[project @ 2004-08-29 22:46:29 by paulb]
Updated the release notes and outstanding work list. |
|
|
README.txt
|
|
217:048984c3fec4
|
2004-08-29 |
paulb |
changeset
files
shortlog
graph
|
[project @ 2004-08-29 22:46:09 by paulb]
Updated the version number. |
|
|
WebStack/__init__.py
|
|
216:ec75746f6e64
|
2004-08-29 |
paulb |
changeset
files
shortlog
graph
|
[project @ 2004-08-29 19:10:34 by paulb]
Fixed get_path_info for JavaServlet and Webware, although Webware 0.8.1 and
earlier does not really support it anyway. |
|
|
WebStack/JavaServlet.py WebStack/Webware.py
|
|
215:49f07db0546e
|
2004-08-29 |
paulb |
changeset
files
shortlog
graph
|
[project @ 2004-08-29 19:09:25 by paulb]
Added special PyServlet classes (adapted from the Jython versions). |
|
|
tools/JavaServlet/classes/uk/org/boddie/webstack/util/PyServlet.java
|
|