kennethreitz
c045586997
Merge pull request #267 from valtyr/graphql-context
...
Add Request and Response to GraphQL context
2018-12-29 07:05:26 -05:00
kennethreitz
8f0707f697
Merge pull request #262 from carlodri/carlodri-patch-1
...
include LICENSE il sdist
2018-12-29 07:05:12 -05:00
kennethreitz
36929b265c
Merge pull request #263 from tkamenoko/patch-3
...
fix docstring of `API.url_for`
2018-12-29 07:05:05 -05:00
kennethreitz
734ba64965
Merge pull request #264 from sangheestyle/master
...
fix typo
2018-12-29 07:04:53 -05:00
kennethreitz
148e6742df
Merge pull request #268 from taoufik07/patch-18
...
Websocket docs
2018-12-29 07:04:45 -05:00
Taoufik
60b0c5f256
Update
2018-12-25 01:32:38 +00:00
Taoufik
c8627939de
Update
2018-12-25 01:18:44 +00:00
Taoufik
9144f0158a
Websocket docs
2018-12-25 01:15:54 +00:00
Valtýr Örn Kjartansson
d541aca80f
Mention the GraphQL context object in docs
2018-12-23 13:28:50 +00:00
Valtýr Örn Kjartansson
c73b2b8d34
Add request and response to GraphQL context
...
This allows the GraphQL resolvers access to things like session, headers etc.
Also enables creation of powerful GraphQL middleware.
2018-12-23 13:14:15 +00:00
Kim, Sanghee
e2493b489d
fix typo
2018-12-20 17:54:15 +02:00
T.Kameyama
8dee28ac7c
fix docstring of API.url_for
2018-12-17 19:23:33 +09:00
Carlo
cdd3885a0c
include LICENSE il sdist
2018-12-12 22:35:41 +01:00
kennethreitz
1a28d528d0
Merge pull request #233 from taoufik07/websocket-x.x
...
WebSocket returns
2018-12-12 03:59:24 -05:00
kennethreitz
3ba12b8cee
Merge pull request #230 from tkamenoko/file-form
...
formats: format_file returns filename, data, and content-type [Breaking]
2018-12-12 03:59:10 -05:00
kennethreitz
5a29ab6917
Merge pull request #257 from ibnesayeed/lifespan
...
Import lifespan as a middleware as per the change in starlette package
2018-12-12 03:58:53 -05:00
kennethreitz
694144a0c8
Merge pull request #244 from barrust/route-isclass-fix
...
fix for route.is_class_based
2018-12-12 03:58:41 -05:00
kennethreitz
8bed8e8741
Merge pull request #249 from abstiles/fix-broken-test-500
...
Fix broken exception handling in test_500
2018-12-12 03:58:06 -05:00
kennethreitz
a81a348bce
Merge pull request #245 from cdfuller/add-monospace-default
...
Add monospace fallback for preformatted text in docs
2018-12-12 03:57:55 -05:00
kennethreitz
fd9e8c5cbc
Merge pull request #240 from barrust/persist-debug
...
persist debug from API to run
2018-12-12 03:57:19 -05:00
kennethreitz
8030b1919d
Merge pull request #253 from TomFaulkner/patch-1
...
Grammatical fix
2018-12-12 03:56:52 -05:00
Sawood Alam
72c789fdd7
Update Pipfile.lock to reflect version changes
2018-11-30 12:30:28 -05:00
Sawood Alam
1113a9aa0d
Import lifespan as a middleware as per the change in starlette package
2018-11-30 11:52:43 -05:00
Tom Faulkner
a5532614a2
Grammatical fix
...
Grammar: `into to` to `into`
2018-11-26 19:30:20 -06:00
Andrew Stiles
122023fb70
Restore the removal of ExceptionMiddleware
...
Back out the changes made to API and fix the test with a non-raising
instance of TestClient.
2018-11-21 13:05:51 -06:00
Andrew Stiles
b8fa923ec9
Fix broken exception handling in test_500
2018-11-21 11:30:31 -06:00
Tyler Barrus
ae06b3e01a
default cont to False
2018-11-20 10:38:15 -05:00
Cody Fuller
5599ec2809
Add monospace fallback for preformatted text
2018-11-20 09:37:30 -06:00
Tyler Barrus
e795cbddb6
fix for route.is_class_based
2018-11-20 10:26:29 -05:00
Tyler Barrus
0cb087c37b
persist debug from API to run
2018-11-19 23:37:04 -05:00
taoufik07
983cbcc711
cleanup
2018-11-17 21:40:17 +01:00
taoufik07
6d154b0c78
WIP websocket
2018-11-17 20:49:26 +01:00
Tessei Kameyama
f3f36e28c4
[formats] format-files detects file or simple-data
...
if `part` has `content-type`, `format_files` returns
`{"name" : filedata}` . `filedata` is `dict`, the keys are
`filename, content, content-type` .
Otherwise, `format_files` just returns `{"name" : b"data"}` .
2018-11-16 23:50:00 +09:00
Tessei Kameyama
fdf4797726
[test] update file-upload [wip]
...
if form-data don't have content-type,
`req.media("files")` returns `{"name" : b"data"}` , else
`{"name" :
{"filename" : "foo.txt",
"content" : b"data",
"content-type" : "some/type"} }` .
not implemented yet.
2018-11-16 22:13:05 +09:00
Tessei Kameyama
67d8a3be98
[fix] typo
2018-11-16 20:23:09 +09:00
kennethreitz
4001a60f6c
Merge pull request #229 from tomchristie/run-in-threadpool
...
Use Starlette's run_in_threadpool
2018-11-15 06:24:34 -05:00
kennethreitz
d94db41271
Merge branch 'master' of https://github.com/kennethreitz/responder
2018-11-15 06:25:42 -05:00
kennethreitz
8abb78bb58
fix for #215
2018-11-15 06:22:04 -05:00
kennethreitz
a80db99aa3
Merge pull request #228 from mmanhertz/patch-2
...
Fix issue in OpenAPI Schema Support example
2018-11-15 05:49:07 -05:00
Tom Christie
69a300f21a
Use Starlette's run_in_threadpool
2018-11-15 10:38:05 +00:00
Matthias Manhertz
1b024b8092
Fix issue in OpenAPI Schema Support example
...
`PetSchema().dump()` returns a dict. Calling `.data` on it causes an AttributeError.
2018-11-15 11:19:11 +01:00
kennethreitz
a622689597
Merge pull request #225 from peerster/patch-1
...
Update README
2018-11-14 06:18:13 -05:00
Pär
9943e66c49
Updates all of the python-responder.org links
2018-11-14 11:10:29 +01:00
Pär
7233c08281
Update README
...
Update link to python-responder.org to use https
2018-11-14 11:07:18 +01:00
kennethreitz
0845d92fda
Merge pull request #223 from jkermes/master
...
Fix static response
2018-11-13 09:33:34 -05:00
Julien Kermes
1cc02e5a83
Fix static response
2018-11-13 15:18:30 +01:00
kennethreitz
aa4cd7a144
Merge pull request #222 from MRSharff/debian-manifest-typofix
...
Fixed a typo in setup.py: mainfest -> manifest
2018-11-13 07:10:34 -05:00
Mathew Sharff
b42ae0dfd7
Fixed a typo in setup.py: mainfest -> manifest
2018-11-12 21:33:12 -08:00
kennethreitz
a6bd179726
version bump
v1.1.2
2018-11-11 16:58:07 -05:00
kennethreitz
aac7b5117b
Merge pull request #218 from tomchristie/patch-1
...
Bring testominials in line with README
2018-11-10 17:48:29 -05:00