Commit Graph

536 Commits

Author SHA1 Message Date
Tom Christie a440047afb Linting 2019-07-09 14:49:47 +01:00
Tom Christie 184371cb1b Fix collapse button control initial states 2019-07-09 14:47:47 +01:00
Tom Christie 909cf4257a Tweak exception debug HTML 2019-07-09 14:28:24 +01:00
Tom Christie d57bddf609 Version 0.12.2 2019-07-04 16:53:23 +01:00
Tom Christie 387a2b87fa Version 0.12.1 2019-07-04 16:52:08 +01:00
Tom Christie 594b95c1da
Merge pull request #568 from encode/url-manipulation
Query Params manipulatation
2019-07-04 16:28:51 +01:00
Tom Christie 735778daa6 Merge branch 'master' into url-manipulation 2019-07-04 15:59:35 +01:00
Tom Christie ccd225432b
Merge pull request #569 from encode/fix-pytest-raises-usage
Fix `pytest.raises` usage
2019-07-04 15:57:00 +01:00
Tom Christie ca65c9b5ca Fix pytest.raises usage 2019-07-04 15:53:21 +01:00
Tom Christie 5355003aef include_query_params / replace_query_params / remove_query_params 2019-07-04 15:51:55 +01:00
Tom Christie bd9d11964c URL.add_query_params and URL.replace_query_params 2019-07-04 10:30:50 +01:00
Tom Christie c208482df7
Merge pull request #563 from tiangolo/redirect-with-308
Make 307 the default redirect status code
2019-06-25 10:45:41 +01:00
Sebastián Ramírez 3f70223824 ♻️ Make 307 the default redirect status code
respecting HTTP method, and use 308 for HTTPS redirects (equivalently for 301)
2019-06-25 00:03:49 +02:00
Tom Christie b2f9f4359b
Merge pull request #561 from rafalp/update-readme-code-example
Update framework example in readme to use ASGI 3
2019-06-24 11:04:29 +01:00
Rafał Pitoń 44417775dc Update framework example in readme 2019-06-24 11:46:46 +02:00
Tom Christie 8c8cc2ec0a
Update test_base.py 2019-06-19 15:30:29 +01:00
Tom Christie 5604261c03
Update README.md 2019-06-19 12:54:26 +01:00
Tom Christie 7bae09a062
Update README.md 2019-06-19 12:54:13 +01:00
Tom Christie 4918e1023a
Merge pull request #557 from encode/request-state-and-scope
Request state and scope
2019-06-19 10:14:58 +01:00
Tom Christie 99057dd538 request.scope and request.state 2019-06-19 10:08:19 +01:00
Tom Christie 2a56049696 Merge branch 'persistent-state' of https://github.com/didip/starlette into didip-persistent-state 2019-06-19 09:39:54 +01:00
Didip Kerabat 4980ed650f Removed if block 2019-06-17 08:27:32 -07:00
Tom Christie 03bfdbc674
Merge pull request #556 from sirex/json-none
Allow None for JSONResponse
2019-06-17 16:10:54 +01:00
Didip Kerabat 93bf4f3f92 Address some PR feedbacks. 2019-06-17 07:29:49 -07:00
Mantas 1654a48fa4 Allow None fore JSONResponse
Previously `JSONResponse(None)` rendered empty string, but it should be
'null' instead.

This change fixes it.
2019-06-17 17:20:08 +03:00
Tom Christie c5e40dcf03
Merge pull request #544 from marcosschroh/feature/improve-debug-middleware
feat: ServerErrorMiddleware improved
2019-06-17 14:35:05 +01:00
Tom Christie 51ca48fa53
Merge pull request #555 from erm/minor-doc-change-templates
Include `StaticFiles` in template docs
2019-06-17 14:34:23 +01:00
Didip Kerabat c85c13d229 Applying linter. 2019-06-17 05:56:29 -07:00
Jordan bde497e0aa Remove staticfiles note 2019-06-17 22:52:43 +10:00
marcosschroh eb9ce5b05e feat(ServerErrorMiddleware): Frames have been reverted. Style improved. Collapse added on every frame. Context added 2019-06-17 10:37:23 +02:00
Jordan c902f98715 Include import and note in docs 2019-06-17 12:28:04 +10:00
Didip Kerabat 9c61733594 100% test coverage! 2019-06-16 09:27:17 -07:00
Didip Kerabat 0d6bf72a6d More tests and yet it is still 99%. 2019-06-16 09:18:38 -07:00
Didip Kerabat 5f5d0188af Added more tests on State object. 2019-06-16 08:38:48 -07:00
Didip Kerabat 6ad891c496 Got the __setattr__, __getattr__, and __delattr__ working.
But I am not sure if it is more elegant than simply
updating the inner __dict__.
2019-06-16 08:27:27 -07:00
Tom Christie 37f8ff0c70
Merge pull request #543 from rafalp/update-response-api
Update response() calls in docs for ASGI 3
2019-06-16 10:55:55 +01:00
Didip Kerabat 81b0089ab6 Begin work in making sure `request.state` is preserved between middlewares. 2019-06-15 17:22:50 -07:00
Rafał Pitoń b155c44a21 Simplify example apps code to plain functions 2019-06-14 12:53:38 +02:00
rafalp 765bdd2fa6 Update response() calls in docs for ASGI 3 2019-06-14 12:39:41 +02:00
Tom Christie 645cc3089a
Merge pull request #547 from encode/pin-typed-ast
Drop 3.8-dev from build matrix
2019-06-14 11:25:38 +01:00
Tom Christie e2ece4f8d4 Drop 3.8-dev from matrix 2019-06-14 11:22:59 +01:00
Tom Christie d4ee534521 Drop typed-ast pinning 2019-06-14 11:22:48 +01:00
Tom Christie 6d35eb77c7 Pin typed-ast 2019-06-14 11:14:48 +01:00
Tom Christie b994dc6538
Update staticfiles.py 2019-06-10 16:54:44 +01:00
Tom Christie 9e962e79f2 Update WebSocket docs. Closes #536. 2019-06-10 09:18:08 +01:00
Tom Christie 474b499141 Version 0.12.0 2019-05-21 15:39:28 +01:00
Tom Christie 3fd0dd6190 Update image 2019-05-21 09:50:46 +01:00
Tom Christie 01f70bb394
Merge pull request #521 from koddr/patch-2
Add new Starlette logo to Docs
2019-05-21 09:44:30 +01:00
Vic Shóstak ed3d4a3d0e Update logo <img> with new logo 2019-05-20 22:02:32 +03:00
Vic Shóstak f0f33ad306 Update starlette.png 2019-05-20 21:55:50 +03:00