L7 policy API-REF update for result codes
The Octavia API-REF did not specify the HTTP response codes users will receive when using the L7 policy actions REDIRECT_TO_URL and REJECT. This patch details those response codes. Change-Id: Ibc2345deac518c49ece458e1bf09759cab25fa92
This commit is contained in:
parent
6a54f6ac37
commit
40484cc5c6
@ -104,6 +104,12 @@ creating multiple policies with the same action.
|
|||||||
If a new policy is created with a position that matches that of an existing
|
If a new policy is created with a position that matches that of an existing
|
||||||
policy, then the new policy is inserted at the given position.
|
policy, then the new policy is inserted at the given position.
|
||||||
|
|
||||||
|
L7 policies with ``action`` of ``REDIRECT_TO_URL`` will return a HTTP
|
||||||
|
``Found (302)`` response code with the ``redirect_url``.
|
||||||
|
|
||||||
|
L7 policies with ``action`` of ``REJECT`` will return a ``Forbidden (403)``
|
||||||
|
response code to the requester.
|
||||||
|
|
||||||
.. rest_status_code:: success ../http-status.yaml
|
.. rest_status_code:: success ../http-status.yaml
|
||||||
|
|
||||||
- 201
|
- 201
|
||||||
|
Loading…
Reference in New Issue
Block a user