Channel Cat
993627ec44
Merged with master
2016-11-19 18:21:44 -08:00
Channel Cat
3ce6434532
Fix flake8
2016-11-19 18:04:35 -08:00
Channel Cat
a97e554f8f
Added shared request data
2016-11-19 17:48:28 -08:00
Raphael Deem
635921adc7
Update headers to use CIMultiDict instead of dict
2016-11-19 16:09:38 -08:00
Raphael Deem
f16ea20de5
provide default app name
2016-11-18 17:16:48 -08:00
Eli Uriegas
edb12da154
Fix the flake8 error caused by new flake8 version
2016-11-16 12:55:13 -06:00
Eli Uriegas
b51af7f4bf
Merge pull request #147 from webtic/master
...
Add the client address to the request header
2016-11-10 15:30:04 -06:00
Eli Uriegas
28ce2447ef
Update variable name
...
Give `ra` a more explicit name
2016-11-10 15:28:16 -06:00
Paul Jongsma
8ebc92c236
pass flake8 tests
2016-11-10 13:09:37 +01:00
Paul Jongsma
b92e46df40
fix whitespace
2016-11-10 13:06:27 +01:00
Paul Jongsma
be5588d5d8
Add the client address to the request header
2016-11-10 12:53:00 +01:00
Pahaz Blinov
0d9fb2f927
docs(request): return value docstring
2016-11-09 18:04:15 +05:00
Pahaz Blinov
0e9819fba1
fix(request): parse_multipart_form should return RequestParameters
...
I have this code:
```
form = FileForm(request.files)
```
and it raise error because the `request.files` is `dict` but `RequestParameters` is expected =/
2016-11-09 00:36:37 +05:00
Pahaz Blinov
5efe51b661
fix(request.py): problem in case of request without content-type header ( #142 )
...
* fix(request.py): exception if access request.form on GET request
* fix(request): just make a unification (parsed_form and parsed_files) + RFC fixes
parsed_form and parsed_files must be a RequestParameters type in all cases!
2016-11-07 15:27:50 -06:00
Pahaz Blinov
1b65b2e0c6
fix(blueprints): @middleware IndexError ( #139 )
2016-11-06 10:08:55 -06:00
Eli Uriegas
1271c7d958
Merge pull request #128 from channelcat/keep-alive-timeout-fix
...
Keep alive timeout fix
2016-11-05 12:11:41 -06:00
Eli Uriegas
3a1ef6bef2
Merge pull request #125 from clenimar/fix-comments
...
Fix comments over-indentation
2016-11-03 08:27:39 -06:00
imbolc
3cd3b2d9b7
Fix upload without content-type
2016-11-03 12:34:55 +07:00
Marcin Baran
80fcacaf8b
Add loop kwargs to sanic_endpoint_test
2016-11-02 12:27:58 +01:00
Channel Cat
707c55fbe7
Fix flake8
2016-10-28 03:35:30 -07:00
Channel Cat
c44b5551bc
time.time faster than loop.time?
2016-10-28 03:13:03 -07:00
Channel Cat
bd28da0abc
Keep-alive requests stay open if communicating
2016-10-28 02:56:32 -07:00
Clenimar Filemon
f3fc958a0c
Fix comments over-indentation
2016-10-27 11:09:36 -03:00
Channel Cat
65950250d9
Merge pull request #111 from channelcat/reverse-static
...
Reverse static arguments
2016-10-25 02:52:21 -07:00
Channel Cat
74ae0007d3
Reverse static arguments
2016-10-25 02:45:28 -07:00
Channel Cat
977081f4af
Merge pull request #110 from channelcat/cookies-lazy-creation
...
Lazy cookie creation
2016-10-25 01:50:33 -07:00
Channel Cat
ee70f1e55e
Upped to version 0.1.6
2016-10-25 01:49:43 -07:00
Channel Cat
9c16f6dbea
Fix flake8 issues
2016-10-25 01:36:12 -07:00
Channel Cat
c50aa34dd9
Lazy cookie creation
2016-10-25 01:27:54 -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
imbolc
d7fff12b71
Static middleware
2016-10-24 02:17:03 +07:00
pcdinh
5361c6f243
e is an unused variable. Safe to remove
2016-10-23 19:38:28 +07:00
pcdinh
963aef19e0
w is unused variable to it is safe to suppress Pylint warning using _
...
(underscore)
2016-10-23 19:36:08 +07:00
Channel Cat
47ec026536
Fix incomplete request body being read
2016-10-23 03:30:13 -07: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
41ea40fc35
increased server event handler type flexibility
2016-10-23 01:51:46 -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
Hyungtae Kim
c256825de6
Content Type of JSON response should not have a charset
2016-10-20 13:38:03 -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
John Piasetzki
f510550888
Fix flake8
2016-10-20 01:37:12 -04:00
John Piasetzki
fc4c192237
Add simple uri hash to lookup
2016-10-20 01:29:22 -04:00
John Piasetzki
f4b45deb7f
Convert dict to set
2016-10-20 00:28:05 -04:00
John Piasetzki
d1beabfc8f
Add lru_cache to get
2016-10-20 00:28:05 -04:00
John Piasetzki
baf1ce95b1
Refactor get
2016-10-20 00:28:05 -04:00
John Piasetzki
e25e1c0e4b
Convert string formats
2016-10-20 00:28:05 -04:00
John Piasetzki
04a6cc9416
Refactor add parameter
2016-10-20 00:28:05 -04:00
John Piasetzki
50e4dd167e
Extract constant
2016-10-19 23:43:31 -04:00