You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently an endpoint will match all requests by path, no matter what method the client uses.
endpoint"/**" {
proxy {
backend="foo"
}
}
This could be refined with a second endpoint label:
endpoint"/**""POST" {
response {
status=405
}
}
But this would be the first block type which will have multiple labels with different meanings. For example the error_handler have multiple labels but its all the same: a error type.
Therefore we could think about an endpoint attribute (list) to refine the endpoints mux registration by method.
checks and mux registration should be case-insensitive
So how a endpoint configuration would look like for multiple methods ?
The text was updated successfully, but these errors were encountered:
Currently an endpoint will match all requests by path, no matter what method the client uses.
This could be refined with a second endpoint label:
But this would be the first block type which will have multiple labels with different meanings. For example the
error_handler
have multiple labels but its all the same: a error type.Therefore we could think about an
endpoint
attribute (list) to refine the endpoints mux registration by method.So how a endpoint configuration would look like for multiple methods ?
The text was updated successfully, but these errors were encountered: