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

Skip to content

DOC: Add arguments table to http-request, http-response, http-after-response #3287

@NickMRamirez

Description

@NickMRamirez

Your Feature Request

Some customers gave feedback that they're confused by the arguments for the http-request directive. They don't know where to look for guidance on what we mean by "action" and "conditon".

Example:

http-request <action> [options...] [ { if | unless } <condition> ]

The text describes the arguments:

The first keyword after "http-request" in the syntax is the rule's action,
optionally followed by a varying number of arguments for the action. The
supported actions and their respective syntaxes are enumerated in section 4.3
"Actions" (look for actions which tick "HTTP Req").

I notice that some of our directives, like tcp-request content, show a table of arguments. This might be key in helping customers know where to look.

Image

Maybe if we add this table to these directives, it will help customers to understand:

What are you trying to do?

Clarify arguments for action directives.

Output of haproxy -vv

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: docThis issue is about the documentation.type: featureThis issue describes a feature request / wishlist.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions