Add missing @wraps to cross_domain.

This commit is contained in:
Max Goodman
2012-09-12 22:14:56 -07:00
parent 0b9e433101
commit 6d8f87f044

View File

@@ -525,6 +525,7 @@ def cross_domain(origin_check=is_trusted_origin, **options):
"allow_credentials": bool(options.get("allow_credentials"))
}
@wraps(fn)
def cross_domain_handler(self, *args, **kwargs):
if request.params.get("hoist") == "cookie":
# Cookie polling response