Преглед на файлове

Proofread readme for http gateway example

Rune Halvorsen преди 15 години
родител
ревизия
3299d76ecc
променени са 1 файла, в които са добавени 4 реда и са изтрити 3 реда
  1. 4 3
      examples/celery_http_gateway/README.rst

+ 4 - 3
examples/celery_http_gateway/README.rst

@@ -31,9 +31,10 @@ Then you can use the resulting task-id to get the return value::
     {"task": {"status": "SUCCESS", "result": "pong", "id": "e3a95109-afcd-4e54-a341-16c18fddf64b"}}
     {"task": {"status": "SUCCESS", "result": "pong", "id": "e3a95109-afcd-4e54-a341-16c18fddf64b"}}
 
 
 
 
-If you don't want to expose all tasks, you can extend the apply view to only
-accept an whitelist for example, or just make views for every task you want to
-expose, we made on such view for ping in ``views.ping``::
+If you don't want to expose all tasks there are a few possible
+approaches. For instance you can extend the ``apply`` view to only
+accept a whitelist. Another possibility is to just make views for every task you want to
+expose. We made on such view for ping in ``views.ping``::
 
 
     $ curl http://localhost:8000/ping/
     $ curl http://localhost:8000/ping/
     {"ok": "true", "task_id": "383c902c-ba07-436b-b0f3-ea09cc22107c"}
     {"ok": "true", "task_id": "383c902c-ba07-436b-b0f3-ea09cc22107c"}