From 3299d76ecc978046935df7b4837064296ed400fb Mon Sep 17 00:00:00 2001 From: Rune Halvorsen Date: Wed, 10 Feb 2010 23:25:09 +0100 Subject: [PATCH] Proofread readme for http gateway example --- examples/celery_http_gateway/README.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/celery_http_gateway/README.rst b/examples/celery_http_gateway/README.rst index 363c6c2c7..388208e96 100644 --- a/examples/celery_http_gateway/README.rst +++ b/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"}} -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/ {"ok": "true", "task_id": "383c902c-ba07-436b-b0f3-ea09cc22107c"}