3f4475f97b
Parse all headers beforehand and reject invalid requests. Another approach would be to remember the error and check it after `CalculateAction`, which is a bit faster. The rule of thumb here is "first validate, then use". Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru> |
||
---|---|---|
.. | ||
acl | ||
delete | ||
get | ||
head | ||
internal | ||
put | ||
search | ||
util | ||
metrics.go | ||
response.go | ||
server.go | ||
sign.go | ||
transport_splitter.go |