Ok is not OK. Fixes
@@ -149,7 +149,7 @@ class CORSMiddleware(object):
return start_response(status, headers.to_list(), exc_info)
if environ.get("REQUEST_METHOD") == "OPTIONS":
- add_cors_headers("200 Ok", [("Content-Type", "text/plain")])
+ add_cors_headers("200 OK", [("Content-Type", "text/plain")])
return []
return self.app(environ, add_cors_headers)
