Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3299d76

Browse files
author
Rune Halvorsen
committed
Proofread readme for http gateway example
1 parent 726c865 commit 3299d76

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

examples/celery_http_gateway/README.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ Then you can use the resulting task-id to get the return value::
3131
{"task": {"status": "SUCCESS", "result": "pong", "id": "e3a95109-afcd-4e54-a341-16c18fddf64b"}}
3232

3333

34-
If you don't want to expose all tasks, you can extend the apply view to only
35-
accept an whitelist for example, or just make views for every task you want to
36-
expose, we made on such view for ping in ``views.ping``::
34+
If you don't want to expose all tasks there are a few possible
35+
approaches. For instance you can extend the ``apply`` view to only
36+
accept a whitelist. Another possibility is to just make views for every task you want to
37+
expose. We made on such view for ping in ``views.ping``::
3738

3839
$ curl http://localhost:8000/ping/
3940
{"ok": "true", "task_id": "383c902c-ba07-436b-b0f3-ea09cc22107c"}

0 commit comments

Comments
 (0)