File have been taken from neofs-http-gw. Commit 9604f9f4b16bbe211cf967c6d270ecb412fb0a208. Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
Signed-off-by: Pavel Korotkov <pkorotkov@gmail.com>