summaryrefslogtreecommitdiffstats
path: root/.ignore
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2021-07-21 04:32:35 +0100
committerGitHub <noreply@github.com>2021-07-21 11:32:35 +0800
commit28f6f7bb03884dd3d2c4ff17cdc6bf8916eb441d (patch)
treeba683cace199a3aa685e1d069dada4b2ca7019ee /.ignore
parent49bd9a111125da6fd9212e41ca5473a1faff0cf2 (diff)
downloadgitea-28f6f7bb03884dd3d2c4ff17cdc6bf8916eb441d.tar.gz
gitea-28f6f7bb03884dd3d2c4ff17cdc6bf8916eb441d.zip
Restore CORS on git smart http protocol (#16496)
Unfortunately the chi changes have resulted in the CORS headers for the git smart http protocol going missing. This is mostly because the OPTIONS method is not being handled by httpBase anymore. This PR adds a GetOptions, PostOptions and Options methods to web handler to allow OPTIONS method requests to still reach the httpBase function. Fix #16350 Close #16491 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to '.ignore')
0 files changed, 0 insertions, 0 deletions