]> git.ipfire.org Git - thirdparty/starlette.git/log
thirdparty/starlette.git
6 years agoUpdate test_client doc from README.md 44/head
Jeff Buttars [Tue, 28 Aug 2018 14:18:17 +0000 (08:18 -0600)] 
Update test_client doc from README.md

6 years agoAdd Applications docs to mkdocs
Jeff Buttars [Tue, 28 Aug 2018 14:11:53 +0000 (08:11 -0600)] 
Add Applications docs to mkdocs

6 years agoMerge branch 'master' into mkdocs
Jeff Buttars [Tue, 28 Aug 2018 14:09:42 +0000 (08:09 -0600)] 
Merge branch 'master' into mkdocs

6 years agoInitial conversion of README.md to mkdocs
Jeff Buttars [Tue, 28 Aug 2018 13:58:03 +0000 (07:58 -0600)] 
Initial conversion of README.md to mkdocs

6 years agoVersion 0.2 0.2.0
Tom Christie [Tue, 28 Aug 2018 13:46:47 +0000 (14:46 +0100)] 
Version 0.2

6 years agoBlack formatting
Tom Christie [Tue, 28 Aug 2018 13:45:50 +0000 (14:45 +0100)] 
Black formatting

6 years agoFixes to TestClient websocket docs
Tom Christie [Tue, 28 Aug 2018 13:45:23 +0000 (14:45 +0100)] 
Fixes to TestClient websocket docs

6 years agoclient.wsconnect -> client.websocket_connect
Tom Christie [Tue, 28 Aug 2018 13:45:06 +0000 (14:45 +0100)] 
client.wsconnect -> client.websocket_connect

6 years agoAdd App class (#42)
Tom Christie [Tue, 28 Aug 2018 13:34:18 +0000 (14:34 +0100)] 
Add App class (#42)

* Add App class

* Black formatting

* Support kwargs in App routes

* Black formatting

* Use protocol based routing in app

* WebSocket close when no route found

* session.send(...), session.receive(...) for test client

* Support app.mount(prefix, app)

* Black formatting

* Black formatting

* Minor tweaks to websocket test client

* Add 'App' to README

6 years agoUpdate table of contents
Tom Christie [Mon, 27 Aug 2018 14:42:05 +0000 (15:42 +0100)] 
Update table of contents

6 years agoAdd a TOC to the repo README (#40)
Jeff Buttars [Mon, 27 Aug 2018 14:38:56 +0000 (14:38 +0000)] 
Add a TOC to the repo README (#40)

6 years agoDrop asgi_application decorator (#41)
Tom Christie [Mon, 27 Aug 2018 14:38:44 +0000 (15:38 +0100)] 
Drop asgi_application decorator (#41)

6 years agoRedirect response (#39) 0.1.17
Tom Christie [Mon, 27 Aug 2018 13:51:24 +0000 (14:51 +0100)] 
Redirect response (#39)

* Minor Request cleanups

* Black formatting

* Add RedirectResponse

* Black formatting

* Clean up test_redirect_response test case

7 years agoMinor Request cleanups (#38)
Tom Christie [Fri, 17 Aug 2018 16:20:17 +0000 (17:20 +0100)] 
Minor Request cleanups (#38)

* Minor Request cleanups

* Black formatting

7 years agoVersion 0.1.16 0.1.16
Tom Christie [Fri, 17 Aug 2018 15:40:40 +0000 (16:40 +0100)] 
Version 0.1.16

7 years agoWebSockets support (#37)
Tom Christie [Fri, 17 Aug 2018 15:36:48 +0000 (16:36 +0100)] 
WebSockets support (#37)

* WebSockets support

* WebSockets support

* WebSockets support

* Black formatting

* Add missing descriptions against websocket test session docs

* Add missing descriptions against websocket test session docs

* Add note on session.send() / session.receive()

7 years agoMerge branch 'master' of https://github.com/encode/starlette 0.1.15
Tom Christie [Thu, 26 Jul 2018 13:43:09 +0000 (14:43 +0100)] 
Merge branch 'master' of https://github.com/encode/starlette

7 years agoVersion 0.1.15
Tom Christie [Thu, 26 Jul 2018 13:43:02 +0000 (14:43 +0100)] 
Version 0.1.15

7 years agoCorrectly handle static files larger than 4096 bytes (#33)
Simon Willison [Thu, 26 Jul 2018 13:41:05 +0000 (06:41 -0700)] 
Correctly handle static files larger than 4096 bytes (#33)

* Fixed bug in FileResponse with files larger than 4096 bytes (single message chunk)
* Failing test for static file larger than 4096 bytes

7 years agoVersion 0.1.14 0.1.14
Tom Christie [Wed, 18 Jul 2018 14:42:59 +0000 (15:42 +0100)] 
Version 0.1.14

7 years agoMerge pull request #31 from encode/debug-middleware-improvements
Tom Christie [Wed, 18 Jul 2018 14:42:24 +0000 (15:42 +0100)] 
Merge pull request #31 from encode/debug-middleware-improvements

Improvements to `DebugMiddleware`

7 years agoShow exceptions that occur during app init. Ignore non-http scopes. 31/head
Tom Christie [Wed, 18 Jul 2018 14:34:13 +0000 (15:34 +0100)] 
Show exceptions that occur during app init. Ignore non-http scopes.

7 years agoVersion 0.1.13 0.1.13
Tom Christie [Wed, 18 Jul 2018 12:14:42 +0000 (13:14 +0100)] 
Version 0.1.13

7 years agoMerge pull request #28 from gbozee/master
Tom Christie [Wed, 18 Jul 2018 12:14:12 +0000 (13:14 +0100)] 
Merge pull request #28 from gbozee/master

Fixed encoding issues on windows

7 years agoVersion 0.1.12 0.1.12
Tom Christie [Wed, 18 Jul 2018 12:10:33 +0000 (13:10 +0100)] 
Version 0.1.12

7 years agoMerge pull request #29 from encode/debug-middleware
Tom Christie [Wed, 18 Jul 2018 12:10:00 +0000 (13:10 +0100)] 
Merge pull request #29 from encode/debug-middleware

Add `DebugMiddleware`

7 years agoBlack formatting 29/head
Tom Christie [Wed, 18 Jul 2018 12:08:06 +0000 (13:08 +0100)] 
Black formatting

7 years agoAdd DebugMiddleware
Tom Christie [Wed, 18 Jul 2018 12:04:14 +0000 (13:04 +0100)] 
Add DebugMiddleware

7 years agoFixed encoding issues on windows 28/head
Abiola [Tue, 17 Jul 2018 20:38:38 +0000 (21:38 +0100)] 
Fixed encoding issues on windows

Attempting to install the package on windows throws `UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 1549: character maps to <undefined>`

This is an attempted fix

7 years agoMerge pull request #26 from encode/raise-disconnect-exception-on-early-disconnect 0.1.11
Tom Christie [Fri, 13 Jul 2018 13:37:17 +0000 (14:37 +0100)] 
Merge pull request #26 from encode/raise-disconnect-exception-on-early-disconnect

Raise ClientDisconnect if disconnected while reading request body

7 years agoBlack formatting 26/head
Tom Christie [Fri, 13 Jul 2018 13:33:56 +0000 (14:33 +0100)] 
Black formatting

7 years agoVersion 0.1.11
Tom Christie [Fri, 13 Jul 2018 13:31:28 +0000 (14:31 +0100)] 
Version 0.1.11

7 years agoTest for ClientDisconnect while reading body
Tom Christie [Fri, 13 Jul 2018 13:31:05 +0000 (14:31 +0100)] 
Test for ClientDisconnect while reading body

7 years agoRaise ClientDisconnect if disconnected while reading request body
Tom Christie [Fri, 13 Jul 2018 13:19:42 +0000 (14:19 +0100)] 
Raise ClientDisconnect if disconnected while reading request body

7 years agoVersion 0.1.10 0.1.10
Tom Christie [Fri, 13 Jul 2018 12:48:04 +0000 (13:48 +0100)] 
Version 0.1.10

7 years agoMerge pull request #25 from encode/datastructure-tweaks
Tom Christie [Fri, 13 Jul 2018 12:47:00 +0000 (13:47 +0100)] 
Merge pull request #25 from encode/datastructure-tweaks

Datastructure tweaks

7 years agoBlack formatting 25/head
Tom Christie [Fri, 13 Jul 2018 12:44:42 +0000 (13:44 +0100)] 
Black formatting

7 years agoRename variable inside MutableHeaders implementation
Tom Christie [Fri, 13 Jul 2018 12:40:53 +0000 (13:40 +0100)] 
Rename variable inside MutableHeaders implementation

7 years agoMutableHeaders retains insertion order
Tom Christie [Fri, 13 Jul 2018 12:39:41 +0000 (13:39 +0100)] 
MutableHeaders retains insertion order

7 years agoAdd Headers.mutablecopy()
Tom Christie [Fri, 13 Jul 2018 12:35:35 +0000 (13:35 +0100)] 
Add Headers.mutablecopy()

7 years agoAdd Request.relative_url
Tom Christie [Fri, 13 Jul 2018 12:32:25 +0000 (13:32 +0100)] 
Add Request.relative_url

7 years agoBlack formatting
Tom Christie [Thu, 12 Jul 2018 16:07:20 +0000 (17:07 +0100)] 
Black formatting

7 years agoVersion 0.1.9 0.1.9
Tom Christie [Thu, 12 Jul 2018 15:31:35 +0000 (16:31 +0100)] 
Version 0.1.9

7 years agoTest for StaticFiles directory breakout protection
Tom Christie [Thu, 12 Jul 2018 15:29:54 +0000 (16:29 +0100)] 
Test for StaticFiles directory breakout protection

7 years agoFix for os.path.join
Tom Christie [Thu, 12 Jul 2018 15:11:06 +0000 (16:11 +0100)] 
Fix for os.path.join

7 years agoAdd docs on regexs in routing
Tom Christie [Thu, 12 Jul 2018 13:54:25 +0000 (14:54 +0100)] 
Add docs on regexs in routing

7 years agoVersion 0.1.8 0.1.8
Tom Christie [Thu, 12 Jul 2018 13:15:39 +0000 (14:15 +0100)] 
Version 0.1.8

7 years agoMerge pull request #21 from encode/staticfiles
Tom Christie [Thu, 12 Jul 2018 13:13:07 +0000 (14:13 +0100)] 
Merge pull request #21 from encode/staticfiles

StaticFile and StaticFiles

7 years agoTweak README 21/head
Tom Christie [Thu, 12 Jul 2018 13:09:49 +0000 (14:09 +0100)] 
Tweak README

7 years agoTweak imports and docs
Tom Christie [Thu, 12 Jul 2018 13:09:05 +0000 (14:09 +0100)] 
Tweak imports and docs

7 years agoAdd StaticFile and StaticFiles to README
Tom Christie [Thu, 12 Jul 2018 12:57:04 +0000 (13:57 +0100)] 
Add StaticFile and StaticFiles to README

7 years agoBlack formatting
Tom Christie [Thu, 12 Jul 2018 12:47:23 +0000 (13:47 +0100)] 
Black formatting

7 years agoConfiguration checks for StaticFiles
Tom Christie [Thu, 12 Jul 2018 12:41:46 +0000 (13:41 +0100)] 
Configuration checks for StaticFiles

7 years agoAdd StaticFile and StaticFiles ASGI applications
Tom Christie [Thu, 12 Jul 2018 12:13:44 +0000 (13:13 +0100)] 
Add StaticFile and StaticFiles ASGI applications

7 years agoMerge pull request #19 from encode/file-response-headers
Tom Christie [Thu, 12 Jul 2018 10:55:54 +0000 (11:55 +0100)] 
Merge pull request #19 from encode/file-response-headers

Add `Content-Length`, `Last-Modified` and `ETag` headers to `FileResponse`

7 years agoAdd Content-Length, Last-Modified and ETag headers to FileResponse 19/head
Tom Christie [Thu, 12 Jul 2018 10:53:07 +0000 (11:53 +0100)] 
Add Content-Length, Last-Modified and ETag headers to FileResponse

7 years agoMerge branch 'master' of https://github.com/encode/starlette 0.1.7
Tom Christie [Wed, 11 Jul 2018 15:54:09 +0000 (16:54 +0100)] 
Merge branch 'master' of https://github.com/encode/starlette

7 years agoFix Response signature in README
Tom Christie [Wed, 11 Jul 2018 15:54:00 +0000 (16:54 +0100)] 
Fix Response signature in README

7 years agoMerge pull request #18 from encode/file-responses
Tom Christie [Wed, 11 Jul 2018 15:52:23 +0000 (16:52 +0100)] 
Merge pull request #18 from encode/file-responses

Add `FileResponse`

7 years agoVersion 0.1.7 18/head
Tom Christie [Wed, 11 Jul 2018 15:47:18 +0000 (16:47 +0100)] 
Version 0.1.7

7 years agoAdd FileResponse to README
Tom Christie [Wed, 11 Jul 2018 15:46:44 +0000 (16:46 +0100)] 
Add FileResponse to README

7 years agoDrop incomplete multipart and DatabaseMiddleware
Tom Christie [Wed, 11 Jul 2018 15:32:48 +0000 (16:32 +0100)] 
Drop incomplete multipart and DatabaseMiddleware

7 years agoUse getlist, instead of get_list
Tom Christie [Wed, 11 Jul 2018 15:30:40 +0000 (16:30 +0100)] 
Use getlist, instead of get_list

7 years agoAdd FileResponse
Tom Christie [Wed, 11 Jul 2018 15:08:51 +0000 (16:08 +0100)] 
Add FileResponse

7 years agoAdd set_default
Tom Christie [Wed, 11 Jul 2018 12:16:03 +0000 (13:16 +0100)] 
Add set_default

7 years agoMerge pull request #16 from encode/performance 0.1.6
Tom Christie [Tue, 10 Jul 2018 14:34:09 +0000 (15:34 +0100)] 
Merge pull request #16 from encode/performance

Performance improvements

7 years agoBlack formatting 16/head
Tom Christie [Tue, 10 Jul 2018 14:30:54 +0000 (15:30 +0100)] 
Black formatting

7 years agoPerformance improvements
Tom Christie [Tue, 10 Jul 2018 14:19:51 +0000 (15:19 +0100)] 
Performance improvements

7 years agoResize header
Tom Christie [Mon, 2 Jul 2018 11:07:23 +0000 (12:07 +0100)] 
Resize header

7 years agoTweak header image
Tom Christie [Mon, 2 Jul 2018 11:00:03 +0000 (12:00 +0100)] 
Tweak header image

7 years agoTweak header image
Tom Christie [Mon, 2 Jul 2018 10:57:44 +0000 (11:57 +0100)] 
Tweak header image

7 years agoREADME image
Tom Christie [Mon, 2 Jul 2018 10:52:33 +0000 (11:52 +0100)] 
README image

7 years agoMerge pull request #14 from encode/version-0.1.5 0.1.5
Tom Christie [Wed, 27 Jun 2018 20:48:57 +0000 (21:48 +0100)] 
Merge pull request #14 from encode/version-0.1.5

Version 0.1.5

7 years agoVersion 0.1.5 14/head
Tom Christie [Wed, 27 Jun 2018 20:46:09 +0000 (21:46 +0100)] 
Version 0.1.5

7 years agoPerform cheaper comparison first
Tom Christie [Wed, 27 Jun 2018 20:45:46 +0000 (21:45 +0100)] 
Perform cheaper comparison first

7 years agoAllow @asgi_application to apply to either sync or async functions
Tom Christie [Wed, 27 Jun 2018 20:44:23 +0000 (21:44 +0100)] 
Allow @asgi_application to apply to either sync or async functions

7 years agoMerge pull request #10 from encode/remove-receive-setter
Tom Christie [Tue, 26 Jun 2018 13:16:11 +0000 (14:16 +0100)] 
Merge pull request #10 from encode/remove-receive-setter

Remove 'set_receive_channel' method

7 years agoPunctuation fix 10/head
Tom Christie [Tue, 26 Jun 2018 13:13:10 +0000 (14:13 +0100)] 
Punctuation fix

7 years agoRemove 'set_receive_channel' method
Tom Christie [Tue, 26 Jun 2018 10:10:54 +0000 (11:10 +0100)] 
Remove 'set_receive_channel' method

7 years agoVersion 0.1.4 0.1.4
Tom Christie [Tue, 26 Jun 2018 09:55:06 +0000 (10:55 +0100)] 
Version 0.1.4

7 years agoMerge pull request #8 from encode/request-as-scope
Tom Christie [Tue, 26 Jun 2018 09:54:36 +0000 (10:54 +0100)] 
Merge pull request #8 from encode/request-as-scope

Request presents 'scope' interface

7 years agoRequest presents 'scope' interface 8/head
Tom Christie [Tue, 26 Jun 2018 09:51:51 +0000 (10:51 +0100)] 
Request presents 'scope' interface

7 years agoMerge pull request #5 from encode/routing 0.1.3
Tom Christie [Tue, 26 Jun 2018 09:13:50 +0000 (10:13 +0100)] 
Merge pull request #5 from encode/routing

Add Router, Path, PathPrefix

7 years agoBlack formatting 5/head
Tom Christie [Tue, 26 Jun 2018 09:09:59 +0000 (10:09 +0100)] 
Black formatting

7 years agoVersion 0.1.3
Tom Christie [Tue, 26 Jun 2018 09:09:35 +0000 (10:09 +0100)] 
Version 0.1.3

7 years agoBlack formatting
Tom Christie [Tue, 26 Jun 2018 08:39:26 +0000 (09:39 +0100)] 
Black formatting

7 years agoMore type annotation
Tom Christie [Tue, 26 Jun 2018 08:39:06 +0000 (09:39 +0100)] 
More type annotation

7 years agoBlack
Tom Christie [Mon, 25 Jun 2018 21:26:01 +0000 (22:26 +0100)] 
Black

7 years agoAdd Router, Path, PathPrefix
Tom Christie [Mon, 25 Jun 2018 21:23:40 +0000 (22:23 +0100)] 
Add Router, Path, PathPrefix

7 years agoTweak README style
Tom Christie [Mon, 25 Jun 2018 15:05:31 +0000 (16:05 +0100)] 
Tweak README style

7 years agoTweak README style
Tom Christie [Mon, 25 Jun 2018 15:04:03 +0000 (16:04 +0100)] 
Tweak README style

7 years agoTweak README language
Tom Christie [Mon, 25 Jun 2018 15:02:59 +0000 (16:02 +0100)] 
Tweak README language

7 years agoTweak README styling
Tom Christie [Mon, 25 Jun 2018 15:00:39 +0000 (16:00 +0100)] 
Tweak README styling

7 years agoAdd support for 'async for chunk in request.stream()' 0.1.2
Tom Christie [Mon, 25 Jun 2018 14:58:05 +0000 (15:58 +0100)] 
Add support for 'async for chunk in request.stream()'

7 years agoUpdate .gitignore
Tom Christie [Mon, 25 Jun 2018 14:35:43 +0000 (15:35 +0100)] 
Update .gitignore

7 years agoLink to ASGI spec
Tom Christie [Mon, 25 Jun 2018 14:35:22 +0000 (15:35 +0100)] 
Link to ASGI spec

7 years agoBump Python requirements 0.1.1
Tom Christie [Mon, 25 Jun 2018 13:58:51 +0000 (14:58 +0100)] 
Bump Python requirements

7 years agoOnly run linting on 3.6
Tom Christie [Mon, 25 Jun 2018 13:57:13 +0000 (14:57 +0100)] 
Only run linting on 3.6

7 years agoMore explicit documentation of parameters to 'Response'
Tom Christie [Mon, 25 Jun 2018 13:55:03 +0000 (14:55 +0100)] 
More explicit documentation of parameters to 'Response'

7 years agoMore explicit documentation of parameters to 'Response'
Tom Christie [Mon, 25 Jun 2018 13:53:14 +0000 (14:53 +0100)] 
More explicit documentation of parameters to 'Response'