Does the order matter when applying filters? Is th...
# http4k
k
Does the order matter when applying filters? Is there any significant difference in the order that server, request, and response filters need to be applied?
d
generally, no - but the ordering will obviously be important depending on what type of effect you want to have - for example: adding a RequestTracing filter and a request Logging filter - if you want the request traces to be present when you log the request, you need to add it first
does that make sense?
k
Yes, it does