Raphael Deem
|
00d40a35cd
|
Merge pull request #951 from lixxu/master
fix bug and set scheme to http if not provided
|
2017-09-26 21:57:54 -07:00 |
|
lixxu
|
f96ab02767
|
set scheme to http if not provided
|
2017-09-27 09:59:49 +08:00 |
|
Raphael Deem
|
4ce699e57f
|
Merge pull request #944 from blazehu/master
add __repr__ for sanic request
|
2017-09-25 13:58:09 -07:00 |
|
Raphael Deem
|
4ee042c330
|
Merge pull request #948 from chiuczek/json-dependency-injection
Use dependency injection to allow alternative json parser or encoder
|
2017-09-24 21:05:39 -07:00 |
|
Hugh McNamara
|
5cef1634ed
|
use json_loads function in json property of request
|
2017-09-22 10:19:15 +01:00 |
|
Eli Uriegas
|
1b0286916e
|
Merge pull request #947 from lanfon72/patch-1
to fix if platform is windows.
|
2017-09-19 10:15:35 -07:00 |
|
Hugh McNamara
|
a8f764c161
|
make method instead of property for alternative json decoding of request
|
2017-09-19 18:12:53 +01:00 |
|
Hugh McNamara
|
1d719252cb
|
use dependency injection to allow alternative json parser or encoder
|
2017-09-19 14:58:49 +01:00 |
|
lanf0n
|
d8cebe1188
|
to fix if platform is windows.
|
2017-09-19 18:14:25 +08:00 |
|
Eli Uriegas
|
329ebf6a5d
|
Merge pull request #946 from trthhrtz/patch-1
Update getting_started.md
|
2017-09-18 11:13:48 -07:00 |
|
Kuzma Leshakov
|
c836441a75
|
Update getting_started.md
Hello World example at the main Readme file (https://github.com/channelcat/sanic/blob/master/README.rst) is different, it returns json. Here is returned text. In the following examples, such as Routing (http://sanic.readthedocs.io/en/latest/sanic/routing.html) is again used json. Therefore I suggest to make examples the same, having json as output
|
2017-09-18 11:37:32 +03:00 |
|
huyuhan
|
074d36eeba
|
add __repr__ for sanic request
|
2017-09-15 21:15:05 +08:00 |
|
huyuhan
|
f6eb35f67d
|
add __repr__ for sanic request
|
2017-09-15 21:05:25 +08:00 |
|
huyuhan
|
77f70a0792
|
add __repr__ for sanic request
|
2017-09-15 20:56:44 +08:00 |
|
huyuhan
|
12dafd07b8
|
add __repr__ for sanic request
|
2017-09-15 18:34:56 +08:00 |
|
Eli Uriegas
|
9fb8bec715
|
Merge pull request #943 from crvv/master
fix #763, sanic can't decode latin1 encoded header value
|
2017-09-14 13:38:44 -07:00 |
|
Wèi Cōngruì
|
eb1146c6b6
|
fix #763, sanic can't decode latin1 encoded header value
|
2017-09-14 19:23:02 +08:00 |
|
Eli Uriegas
|
a146ebd856
|
Merge pull request #941 from aiosin/master
add status codes and teapot example
|
2017-09-13 11:39:14 -07:00 |
|
aiosin
|
2e5d1ddff9
|
add status codes and teapot example
|
2017-09-13 14:08:29 +02:00 |
|
Raphael Deem
|
d8c8ccd180
|
Merge pull request #932 from lixxu/master
static files url building using url_for
|
2017-09-12 12:59:04 -07:00 |
|
Raphael Deem
|
53a5bd2319
|
Merge pull request #936 from yunstanford/patch-debug-logging
Patch debug logging
|
2017-09-08 20:49:16 -07:00 |
|
Raphael Deem
|
4fd68f9af3
|
Merge pull request #935 from iad42/patch-1
Added information on request.token
|
2017-09-08 20:49:01 -07:00 |
|
Yun Xu
|
c4417b399b
|
fixing debug logging
|
2017-09-08 17:47:05 -07:00 |
|
7
|
c2a3e42a53
|
Merge pull request #12 from channelcat/master
merge upstream master branch
|
2017-09-08 17:39:50 -07:00 |
|
Anatoly Ivanov
|
73c04f5a89
|
Added information on request.token
The manual lacked info about request.token, which keeps authorization data. See https://github.com/channelcat/sanic/blob/master/sanic/request.py#L84 for details
|
2017-09-08 14:21:49 +03:00 |
|
lixxu
|
195f707f14
|
missing '/' in doc
|
2017-09-06 19:19:59 +08:00 |
|
lixxu
|
bc20dc5c62
|
use url_for for url building for static files
|
2017-09-06 19:17:52 +08:00 |
|
Raphael Deem
|
8b4ca51805
|
Merge pull request #931 from Tim-Erwin/envvar_prefix
make the prefix for environment variables alterable
|
2017-09-05 11:22:56 -07:00 |
|
Tim Mundt
|
e2e25eb751
|
fixed flake convention
|
2017-09-05 11:05:31 +02:00 |
|
Tim Mundt
|
9572ecc5ea
|
test for env var prefix
|
2017-09-05 10:58:48 +02:00 |
|
Tim Mundt
|
97d8b9e908
|
documentation for env var prefix; allow passing in the prefix through the app constructor
|
2017-09-05 10:41:55 +02:00 |
|
Tim Mundt
|
c59a8a60eb
|
make the prefix for environment variables alterable
|
2017-09-05 09:53:33 +02:00 |
|
Raphael Deem
|
158da0927a
|
Merge pull request #901 from lixxu/master
add name option for route building
|
2017-08-31 15:29:03 -07:00 |
|
Eli Uriegas
|
78a7338346
|
Merge pull request #922 from timka/patch-1
Example logging X-Request-Id transparently
|
2017-08-31 10:35:48 -07:00 |
|
Eli Uriegas
|
90e5c8d39b
|
Merge pull request #904 from jiaxiaolei/master
feat(examples): add `authorized_sanic.py`
|
2017-08-31 10:35:23 -07:00 |
|
Raphael Deem
|
7a6f2d8336
|
Merge pull request #926 from manisenkov/patch-1
Fix LICENSE date and name
|
2017-08-30 17:49:59 -07:00 |
|
Maksim Anisenkov
|
f49554aa57
|
Fix LICENSE date and name
|
2017-08-30 15:30:22 +02:00 |
|
Timur
|
0a72168f8f
|
Example logging X-Request-Id transparently
|
2017-08-29 23:05:57 +03:00 |
|
Raphael Deem
|
5011bfef55
|
Merge pull request #917 from CharAct3/bugfix/fix_unauthorized
fix #914, change arguments of Unauthorized.__init__
|
2017-08-24 13:45:58 -07:00 |
|
Darren
|
6038813d03
|
fix #914, change arguments of Unauthorized.__init__
|
2017-08-24 22:59:25 +08:00 |
|
Raphael Deem
|
fee9de96de
|
Merge pull request #908 from Ezi4Zy/master
fix: error param
|
2017-08-23 16:22:13 -07:00 |
|
xmsun
|
35e028cd99
|
fix: error param
|
2017-08-22 16:40:42 +08:00 |
|
lixxu
|
145cdd5c1b
|
Merge branch 'use-route-name-for-method'
|
2017-08-22 14:02:56 +08:00 |
|
lixxu
|
762b2782ee
|
use name to define route name for different methods on same url
|
2017-08-22 14:02:38 +08:00 |
|
jiaxiaolei
|
91f031b661
|
feat(examples): add authorized_sanic.py
You can check a request if the client is authorized
to access a resource by the decorator `authorized`
|
2017-08-21 22:40:07 +08:00 |
|
lixxu
|
eab809d410
|
add name option for route building
|
2017-08-21 18:05:34 +08:00 |
|
Raphael Deem
|
826f1b4713
|
Merge pull request #898 from jiaxiaolei/master
feat(examples): add `add_task_sanic.py`
|
2017-08-21 00:32:38 -07:00 |
|
Raphael Deem
|
fa1a95ae91
|
Merge pull request #900 from yunstanford/patch-default-strict-slashes
Patch default strict slashes
|
2017-08-21 00:31:42 -07:00 |
|
Yun Xu
|
63babae63d
|
add doc
|
2017-08-21 00:28:01 -07:00 |
|
Raphael Deem
|
db9924a399
|
Merge pull request #899 from hatarist/patch-2
Add a line on headers in the "Request Data" docs
|
2017-08-20 23:51:07 -07:00 |
|