# HG changeset patch # User Emmanuel Gil Peyrot # Date 1542562576 -3600 # Node ID f1c1f6bc4892082f849c79fc2181742414e801dd # Parent aefd64629e29182a565d43c91901a9a37e46026e mod_http_upload: Remove extra check for Origin HTTP header diff -r aefd64629e29 -r f1c1f6bc4892 mod_http_upload/mod_http_upload.lua --- a/mod_http_upload/mod_http_upload.lua Sun Nov 18 12:16:47 2018 +0000 +++ b/mod_http_upload/mod_http_upload.lua Sun Nov 18 18:36:16 2018 +0100 @@ -351,9 +351,7 @@ ["PUT /*"] = upload_data; ["OPTIONS /*"] = function (event) - if event.request.headers.origin then - set_cross_domain_headers(event.response); - end + set_cross_domain_headers(event.response); return ""; end; };