0xflotus
c8d2a462e3
did you mean specific? ( #1486 )
2019-02-06 16:28:32 -06:00
Leonardo Teixeira Menezes
08794ae1cf
Enforce Datetime Type for Expires on Set-Cookie ( #1484 )
...
* Enforce Datetime Type for Expires on Set-Cookie
* Fix lint issues
* Format code and improve error type
* Fix import order
2019-02-06 12:29:33 -06:00
Kevin ZHANG Qing
4f70dba935
sanic-zipkin ( #1483 )
2019-02-05 07:59:33 -06:00
Enda Farrell
b926a2c9b0
sanic#1480 Allow negative int/number in path ( #1481 )
...
* sanic#1480 Allow negative int/number
* Rerun ``make beautify`` on this change.
2019-02-05 07:54:48 -06:00
Jacob
52bdd1d5a2
Add stream support for bp.add_route() ( #1482 )
...
* Fix #1454
* Update doc
* Fix F632 in response.py
2019-02-05 07:47:46 -06:00
7
bc7d0f0da5
Merge pull request #1478 from chenjr0719/fix_doc_build
...
Upgrade setuptools version and use native docutils in doc build
2019-01-21 22:42:51 -08:00
jacob
6a8e9c9e95
Add deps based on docs extras require, Remove unnecessary deps
2019-01-22 14:05:29 +08:00
jacob
211a922f3c
Upgrade setuptools version and use native docutils
2019-01-21 10:16:57 +08:00
7
2758a3ade6
Merge pull request #1472 from xxNB/dev
...
Remove unwanted None check for __repr__ in `Request` class
2019-01-20 14:21:57 -08:00
7
ef3c9eae73
Merge pull request #1477 from kyb3r/patch-2
...
Fix grammar in README.md
2019-01-20 14:21:27 -08:00
7
9cf2e1b519
Merge pull request #1470 from denismakogon/create-server
...
make Sanic.create_server return an asyncio.Server
2019-01-20 14:21:11 -08:00
Kyber
51c2f7a599
Use backticks
2019-01-19 20:10:44 +11:00
Kyber
5bdd046b11
Fix grammar in README.md
...
> It allows usage the async and await syntax
Doesn't make sense.
2019-01-19 20:08:47 +11:00
章昕
af7ad0a621
Remove unwanted None check for __repr__ in class
2019-01-17 00:24:11 +08:00
Denis Makogon
1473753d43
linter fix
2019-01-15 17:48:26 +02:00
Denis Makogon
b36bd21813
fix uvloop check
2019-01-15 17:45:47 +02:00
Denis Makogon
f8f0241c27
refactor uvloop detection in its own method
2019-01-15 17:33:53 +02:00
Denis Makogon
1af16836d4
make tests dependent on uvloop
2019-01-15 17:30:32 +02:00
Denis Makogon
757974714e
skip tests if python version is not 3.7 at least
2019-01-15 17:27:41 +02:00
Denis Makogon
eed22a7a24
Fix app.create_server calls
2019-01-15 15:47:35 +02:00
Denis Makogon
0242bc999f
Fix type asserting
2019-01-15 15:11:38 +02:00
Denis Makogon
b89c533818
Adding doc
2019-01-15 15:04:30 +02:00
Denis Makogon
2cb05ab865
More tests, attempting to fix CI
2019-01-15 14:52:53 +02:00
Denis Makogon
391639210e
make Sanic.create_server return an asyncio.Server
...
- adding 2 new parameters to Sanic.create_server:
* return_asyncio_server=False - defines whether there's
a need to return an asyncio.Server or run it right away
* asyncio_server_kwargs=None - for python 3.7 uvloop doesn't
support all necessary features like "start_serving",
so, in order to make sanic work well with asyncio from 3.7
there's a need to introduce generic way for passing
kwargs for "loop.create_server"
Closes : #1469
2019-01-15 13:38:47 +02:00
7
99f34c9f50
Merge pull request #1457 from huge-success/max-age-integer
...
enforce integer for max-age cookie
2019-01-13 13:15:10 -08:00
Raphael Deem
d418cc9950
formatting
2019-01-12 20:41:35 -08:00
Raphael Deem
6dfafb0787
test float handling
2019-01-12 20:41:35 -08:00
Raphael Deem
7067295e67
enforce integer for max-age cookie
2019-01-12 20:41:35 -08:00
Eli Uriegas
2af229eb1a
Merge pull request #1445 from huge-success/r0fls-977
...
add handler name to request as endpoint
2019-01-08 16:12:25 -08:00
7
8dd8e9916e
upgrade pytest version that compatible with pytest-cov, fixes some caplog unit tests ( #1464 )
2019-01-08 09:15:23 -06:00
7
96af1fe7cf
Merge pull request #1460 from huge-success/18.12-changelog
...
18.12 Changelog
2019-01-06 22:33:37 -08:00
Yun Xu
cb3a03356b
added changelogs to README and readthedocs
2019-01-06 13:50:40 -08:00
Yun Xu
68aa2ae3ce
added changelog for 18.12 release
2019-01-06 13:44:18 -08:00
7
52de354e24
Merge pull request #1442 from Amanit/feature/gunicorn-logging
...
add an option to change access_log using gunicorn
2019-01-05 11:40:55 -08:00
7
f4f90cada4
Merge pull request #1449 from chenjr0719/add_amending_request_object_example
...
Add example of amending request object
2019-01-02 18:32:24 -08:00
Sergey Fedoruk
102e651741
refactor typing imports
2019-01-02 23:28:06 +01:00
Sergey Fedoruk
65daaaf64b
linteger fix and delete old tests
2019-01-02 23:28:05 +01:00
Sergey Fedoruk
b7a6f36e95
add type annotations in run and create_server
2019-01-02 23:28:05 +01:00
Sergey Fedoruk
a86a10b128
add control of access_log argument type
2019-01-02 23:28:05 +01:00
Sergey Fedoruk
0b728ade3a
change Config.__init__
2019-01-02 23:28:05 +01:00
Sergey Fedoruk
74f05108d7
async test for access_log in create_server
2019-01-02 23:28:05 +01:00
Sergey Fedoruk
9d4d15ddc7
add config tests
2019-01-02 23:28:05 +01:00
Sergey Fedoruk
0c5c6dff8f
fix linting
2019-01-02 23:28:05 +01:00
Sergey Fedoruk
391fcdc83d
fix access_log in run server and fix bool in env variables
2019-01-02 23:28:05 +01:00
Sergey Fedoruk
d76d5e2c5f
add an option to change access_log using gunicorn
2019-01-02 23:28:05 +01:00
jacob
f0ada573bb
Fix a grammar error
2019-01-02 20:37:26 +08:00
jacob
ec5b790b51
Extend example of modifying the request in middleware document
2019-01-02 17:29:01 +08:00
jacob
613b23748d
Add example of amending request object
2019-01-02 14:52:25 +08:00
Adam Hopkins
cea1547e08
Merge pull request #1446 from huge-success/ahopkins-patch-1
...
Update README.rst
2019-01-01 14:51:05 +02:00
7
fd5ae01e1d
Merge pull request #1444 from ja8zyjits/master
...
Updated README.md
2018-12-31 11:49:03 -08:00