Eli Uriegas
8be849cc40
Rewrite static files tests
...
Relates to PR #188
Changes include:
- Rewriting to work with pytest fixtures and an actual static directory
- Addition of a test that covers file paths that must be
unquoted as a uri
2016-12-24 18:18:56 -08:00
Eli Uriegas
a116666d55
Merge pull request #223 from r0fls/115
...
Raise error if response is malformed.
2016-12-24 17:12:17 -08:00
Raphael Deem
c2622511ce
Raise error if response is malformed. Issue #115
2016-12-24 17:09:41 -08:00
Konstantin Hantsov
2f0a582aa7
Make golang performance test return JSON instead of string
2016-12-24 10:28:34 +01:00
38elements
75fc9f91b9
Change HttpParserError process
2016-12-18 09:25:39 +09:00
Eli Uriegas
e3453553e1
Merge pull request #183 from 38elements/payload-too-large
...
Change Payload Too Large process
2016-12-08 10:27:55 -06:00
Raphael Deem
457507d8dc
return 400 on invalid json post data
2016-12-07 20:40:31 -08:00
1a23456789
fac4bca4f4
Fix test_request_timeout.py
...
This increases sleep time, Because sometimes timeout error does not occur.
2016-12-06 10:44:08 +09:00
38elements
662e0c9965
Change Payload Too Large process
...
When Payload Too Large occurs, it uses error handler.
2016-12-04 10:50:32 +09:00
Jack Fischer
9b466db5c9
test for http2 lowercase header cookies
2016-12-03 15:19:24 -05:00
Eli Uriegas
89e2084489
Merge pull request #172 from 38elements/timeout
...
Change request timeout process
2016-11-29 15:56:07 -06:00
Anton Zhyrney
1eea1f5485
rename&remove redundant code
2016-11-26 08:45:08 +02:00
38elements
d8e480ab48
Change sleep time
2016-11-26 14:47:42 +09:00
38elements
c01cbb3a8c
Change Request timeout process
...
This add a request timeout exception.
It cancels task, when request is timeout.
2016-11-26 13:55:45 +09:00
Anton Zhyrney
9f2d73e2f1
class based views implementation for sanic
2016-11-25 09:10:25 +02:00
Eli Uriegas
aa0f15fbb2
Adding a new line
2016-11-23 11:03:00 -06:00
Channel Cat
922c96e3c1
Updated test terminology
2016-11-19 18:26:03 -08:00
Channel Cat
993627ec44
Merged with master
2016-11-19 18:21:44 -08:00
Channel Cat
01681599ff
Fixed new test error with aiohttp
2016-11-19 18:13:02 -08:00
Channel Cat
a97e554f8f
Added shared request data
2016-11-19 17:48:28 -08:00
Andrew Svetlov
0822674f70
aiohttp is slightly faster actually
...
Disabling access log increases RPS a lot
2016-11-11 22:36:49 +02:00
Eli Uriegas
3a2eeb9709
Fix value error for query string test
2016-11-05 13:12:55 -05:00
Channel Cat
74ae0007d3
Reverse static arguments
2016-10-25 02:45:28 -07:00
Channel Cat
0e479d53da
Merge pull request #104 from channelcat/pr/101
...
Static file support
2016-10-24 22:42:01 -07:00
Channel Cat
53e00b2b4c
Added blueprint order test and used deques to add blueprints
2016-10-24 02:09:07 -07:00
Channel Cat
bf6879e46f
Made static file serving part of Sanic
...
Added sanic.static, blueprint.static, documentation, and testing
2016-10-24 01:21:06 -07:00
chhsiao90
9051e985a0
Add test for method not allow situation
2016-10-23 21:58:57 +08:00
Channel Cat
e70263d012
Merge pull request #87 from channelcat/blueprint-extras
...
Blueprint start/stop listeners + ordering
2016-10-23 02:04:55 -07:00
Channel Cat
3802141007
Adding cookie capabilities for issue #74
2016-10-23 01:32:16 -07:00
Channel Cat
a5614f6880
Added server start/stop listeners and reverse ordering on response middleware to blueprints
2016-10-21 04:11:18 -07:00
Channel Cat
d4e2d94816
Added support for routes with / in custom regexes and updated lru to use url and method
2016-10-20 11:33:28 +00:00
Channel Cat
b6a06afdc0
Merge pull request #63 from blakev/feature/performance-tornado
...
Adds `tornado` test server for speed comparison (#13 )
2016-10-19 01:21:56 -07:00
Eshin Kunishima
6d2d9d3afc
Added tests for Request.form
2016-10-19 16:29:40 +09:00
Blake VandeMerwe
cbb1f99ccb
Adds tornado
test server for speed comparison ( #13 )
2016-10-18 09:41:45 -06:00
Channel Cat
6f105a647e
Added multiprocessing
2016-10-18 01:22:49 -07:00
Giorgio Salluzzo
3e8b8fb46f
Fix for issue #44 .
2016-10-16 22:41:56 +02:00
Channel Cat
40b1ec91f0
Added blueprint exception and middleware support, and tests
2016-10-16 01:48:51 -07:00
Channel Cat
9b716e97ee
Merge branch 'feature_blueprints' of https://github.com/narzeja/sanic into narzeja-feature_blueprints
2016-10-16 08:21:35 +00:00
Channel Cat
41d31b9e55
Added bottle and kyoukai benchmarks, updated sanic and aiohttp
2016-10-16 00:50:49 -07:00
narzeja
a320bc28a6
add bottle simple_server using gunicorn
2016-10-16 07:52:10 +02:00
narzeja
aaf571fae4
Blueprint support, with docs, example, and tests
2016-10-16 06:43:22 +02:00
Michael Lavers
9f824b048e
Introduce end-of-line normalization
2016-10-15 12:59:00 -07:00
Channel Cat
1d519ff407
Added wheezy to benchmarks
2016-10-14 23:31:47 -07:00
Channel Cat
bad1b9da86
Updated aiohttp benchmarks with uvloop
2016-10-14 20:06:29 -07:00
Channel Cat
254861bc37
Reformatted code to use spaces instead of tabs
2016-10-14 19:53:49 -07:00
Eli Uriegas
7a313fc268
Fix link to helper
2016-10-14 17:38:43 -05:00
Eli Uriegas
c9d63f4e31
Split up the exceptions tests
2016-10-14 17:36:58 -05:00
Eli Uriegas
4684083f2f
Move helpers from tests to sanic proper
2016-10-14 17:36:32 -05:00
Channel Cat
62c1235f58
speed improvements
2016-10-14 03:52:21 -07:00
Channel Cat
33f712ef9b
Proper errors when server cannot bind
2016-10-14 03:42:20 -07:00