[core] extend dir redirection to take HTTP status
commitf60f1a279e82f27921726bbb7675dfeae7e551cd
authorGlenn Strauss <gstrauss@gluelogic.com>
Wed, 13 Mar 2019 06:29:31 +0000 (13 02:29 -0400)
committerGlenn Strauss <gstrauss@gluelogic.com>
Wed, 13 Mar 2019 06:29:31 +0000 (13 02:29 -0400)
tree8d98f15e321e438ec28aeacd3069ddcaad0bd0d7
parent5440f04e8a9476e9a8665a93db3934a566f8beec
[core] extend dir redirection to take HTTP status

extend http_response_redirect_to_directory to take HTTP status code
and to set Location if HTTP status >= 300, or else set Content-Location
src/http-header-glue.c
src/mod_userdir.c
src/mod_webdav.c
src/response.c
src/response.h