Ben Darnell
|
6a85be4577
|
Add autoescape application setting and convert chatdemo to use it.
|
2011-05-30 19:03:54 -07:00 |
Ben Darnell
|
ebe191e1bf
|
Add raw expressions to templates with {% raw [expr] %}
|
2011-05-30 18:51:31 -07:00 |
Ben Darnell
|
708cd9e34a
|
First pass at template autoescaping
|
2011-05-30 14:58:00 -07:00 |
Ben Darnell
|
3acda21a2e
|
Make template.Loader and DictLoader share a common base class
|
2011-05-30 14:07:10 -07:00 |
Ben Darnell
|
25494d18f2
|
Fix template rendering for non-string expressions.
Template.generate() now always returns byte strings.
|
2011-05-30 12:11:42 -07:00 |
Ben Darnell
|
619bbf7c00
|
Extract etag computation so it can be customized or disabled.
|
2011-05-30 01:09:11 -07:00 |
Ben Darnell
|
2f8dd6e4c0
|
Allow the application to determine the encoding used for url parameters (previously hard-coded to utf8).
HTTPRequest.arguments now maps from native strings to bytes. That's slightly
inconsistent, but having byte strings as dictionary keys is awkward.
|
2011-05-29 23:32:22 -07:00 |
Ben Darnell
|
a8603159f4
|
Add an encoding argument to tornado.escape.url_unescape.
|
2011-05-29 21:57:35 -07:00 |
Ben Darnell
|
d5a94e4253
|
Add type checks for web.py methods.
Undo some unnecessary unicodification from the python3 changes.
|
2011-05-29 19:33:42 -07:00 |
Ben Darnell
|
79073dbef9
|
Type checks for httpserver.HTTPRequest fields
|
2011-05-29 18:39:23 -07:00 |
Ben Darnell
|
e5265194d6
|
Check types of HTTPClient response objects and make them consistent
|
2011-05-29 18:12:16 -07:00 |
Ben Darnell
|
014b76d76d
|
Move most simple_httpclient tests to httpclient_test.py where they can
be run against both AsyncHTTPClient implementations.
|
2011-05-29 18:02:13 -07:00 |
Ben Darnell
|
f09a4a92a9
|
Add AI_ADDRCONFIG to getaddrinfo call, which may fix ipv6-related issues report on the mailing list
|
2011-05-29 17:27:48 -07:00 |
Ben Darnell
|
bced671daa
|
Test template include/extend operations
|
2011-05-29 16:07:20 -07:00 |
Ben Darnell
|
6f7e8850de
|
Test WSGIApplication and make it work on python3
|
2011-05-29 15:54:53 -07:00 |
Ben Darnell
|
cab718aea6
|
Make WSGIContainer work on python 3
|
2011-05-29 15:45:41 -07:00 |
Ben Darnell
|
6439fd3262
|
Add a simple template test and make it pass in python 3
|
2011-05-29 15:21:07 -07:00 |
Ben Darnell
|
63a161f596
|
Add script to run test suite with multiple python versions at once
|
2011-05-29 15:04:24 -07:00 |
Ben Darnell
|
05fd0fcb2a
|
Make tornado.testing.main with no arguments work in python 3.2
|
2011-05-29 14:02:27 -07:00 |
Ben Darnell
|
155c20fe89
|
Don't add an extra delimter when no arguments are given
|
2011-05-28 18:24:07 -07:00 |
Ben Darnell
|
27bf4d85e2
|
Remove execute permission from files not intended to be entry points
|
2011-05-28 15:03:35 -07:00 |
Ben Darnell
|
1d4d241a0b
|
Add a test that imports all tornado modules to at least ensure there are no
syntax errors in otherwise-untested modules like auth and websocket.
|
2011-05-28 14:59:49 -07:00 |
Ben Darnell
|
68a268f7dc
|
Make OAuth2Mixin work even when OAUTH_AUTHORIZE_URL doesn't end with "?"
Based on https://github.com/facebook/tornado/pull/269
|
2011-05-28 14:51:05 -07:00 |
Ben Darnell
|
e36c9b462e
|
Convert path components to unicode for consistency with get_argument().
|
2011-05-28 14:23:36 -07:00 |
Ben Darnell
|
298a438de8
|
Fix HTTPServer on windows, where IPPROTO_IPV6 options are not available
|
2011-05-28 13:40:38 -07:00 |
Ben Darnell
|
50c2e49bf0
|
Fix decoding of non-ascii characters in query strings
|
2011-05-24 22:29:53 -07:00 |
Ben Darnell
|
ca2be3e99e
|
Inner headers for multipart/form-data default to utf-8
|
2011-05-23 23:23:39 -07:00 |
Ben Darnell
|
a4d4c2379a
|
Fix and test encoding handling for multipart/form-data. Now works
with non-ascii data in all parts of the request in both python2 and python3.
|
2011-05-23 22:08:22 -07:00 |
Ben Darnell
|
381f01f1d5
|
Make xhtml_escape work in python3; add test.
|
2011-05-20 20:10:06 -07:00 |
Ben Darnell
|
f5fd90fec4
|
Use the standard mime type application/json when producing json output
|
2011-05-18 23:35:35 -07:00 |
bdarnell
|
c3ec7ffdcf
|
Merge pull request #260 from alanhogan/documentation-improvement
Document redirections and StaticFileHandler
|
2011-05-18 23:26:23 -07:00 |
Alan Hogan
|
4f911478e1
|
Typo, restore missing path setting, and mention the capturing group
|
2011-05-18 19:51:31 -07:00 |
Ben Darnell
|
cad4a30879
|
Add simple test application for websockets
|
2011-05-17 23:14:02 -07:00 |
Ben Darnell
|
c5b5a6ad1b
|
Fix websocket after string type changes introduced by python3 merge
|
2011-05-17 23:13:36 -07:00 |
Ben Darnell
|
d9648660ac
|
Run SSL tests even when pycurl is not present.
|
2011-05-15 20:10:42 -07:00 |
Ben Darnell
|
0ec8dcec98
|
Client-side ipv6 support (disabled by default)
|
2011-05-15 20:01:58 -07:00 |
Ben Darnell
|
4ac778e07b
|
Server-side ipv6 support.
Also support multiple bind addresses in one HTTPServer
|
2011-05-15 17:34:03 -07:00 |
Ben Darnell
|
2bd2a0ffdb
|
Fix cookie handling after python3 encoding changes. Add tests.
|
2011-05-15 16:59:43 -07:00 |
Ben Darnell
|
bd1c8ca6ca
|
Add tornado.escape.native_str() for dealing with python 2 vs 3 issues.
Rename _unicode() to to_unicode() so it doesn't look private, make its
implementation match utf8(), and document both functions.
|
2011-05-15 16:58:29 -07:00 |
Ben Darnell
|
6894ba7c21
|
Python3-ify this test
|
2011-05-15 16:30:41 -07:00 |
Ben Darnell
|
031dc6796b
|
Help 2to3 with a tricky three-argument raise statement
|
2011-05-15 16:30:13 -07:00 |
Ben Darnell
|
6569f2a515
|
Python3 doesn't have a useful basestring type any more :(
|
2011-05-15 16:29:19 -07:00 |
Alan Hogan
|
1100a5239c
|
Document how to fake other root files despite serving with StaticFileHandler
|
2011-05-15 12:05:13 -07:00 |
Alan Hogan
|
910a0b5436
|
Document RedirectHandler
|
2011-05-15 12:04:01 -07:00 |
Ben Darnell
|
a287c203f1
|
Add keepalive support to benchmark, add other command-line args
|
2011-05-14 22:53:29 -07:00 |
Ben Darnell
|
3205b3682d
|
Fix a StackContext leak introduced by the delayed IOStream callbacks
|
2011-05-14 22:35:23 -07:00 |
Ben Darnell
|
a723690edf
|
Convert http request bodies to utf8 earlier so content-length is correct
|
2011-05-14 21:29:58 -07:00 |
Ben Darnell
|
af29183d93
|
Small speedups
|
2011-05-14 21:25:31 -07:00 |
Ben Darnell
|
5f953f6f0b
|
Freeze the iostream write buffer when send() returns 0.
|
2011-05-14 21:18:11 -07:00 |
Ben Darnell
|
6cb775c0a1
|
Fix handling of closed connections with epoll. This fixes a problem with
simple_httpclient and servers that close the connection after sending the
response.
|
2011-05-14 20:52:42 -07:00 |