{"action":"created","issue":{"url":"https://api.github.com/repos/mschae/cors_plug/issues/47","repository_url":"https://api.github.com/repos/mschae/cors_plug","labels_url":"https://api.github.com/repos/mschae/cors_plug/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/mschae/cors_plug/issues/47/comments","events_url":"https://api.github.com/repos/mschae/cors_plug/issues/47/events","html_url":"https://github.com/mschae/cors_plug/pull/47","id":304066723,"number":47,"title":"Fix bug: Internal server error on OPTIONS request","user":{"login":"shivamMg","id":7882752,"avatar_url":"https://avatars0.githubusercontent.com/u/7882752?v=4","gravatar_id":"","url":"https://api.github.com/users/shivamMg","html_url":"https://github.com/shivamMg","followers_url":"https://api.github.com/users/shivamMg/followers","following_url":"https://api.github.com/users/shivamMg/following{/other_user}","gists_url":"https://api.github.com/users/shivamMg/gists{/gist_id}","starred_url":"https://api.github.com/users/shivamMg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shivamMg/subscriptions","organizations_url":"https://api.github.com/users/shivamMg/orgs","repos_url":"https://api.github.com/users/shivamMg/repos","events_url":"https://api.github.com/users/shivamMg/events{/privacy}","received_events_url":"https://api.github.com/users/shivamMg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-10T12:23:56Z","updated_at":"2018-03-14T17:44:37Z","closed_at":"2018-03-14T17:40:07Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/mschae/cors_plug/pulls/47","html_url":"https://github.com/mschae/cors_plug/pull/47","diff_url":"https://github.com/mschae/cors_plug/pull/47.diff","patch_url":"https://github.com/mschae/cors_plug/pull/47.patch"},"body":"Internal server error on OPTIONS request when Access-Control-Request-Headers\r\nis not in the request, and `headers: [\"*\"]` has been set in the config.\r\n\r\n\r\n--- \r\n\r\nIf `Access-Control-Request-Headers` has not been set, it means the author does not intend to send any headers (except [simple headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers)) when the actual request is made. In that case, we can just send an empty value for `Access-Control-Allow-Headers`.\r\n"},"comment":{"url":"https://api.github.com/repos/mschae/cors_plug/issues/comments/373113029","html_url":"https://github.com/mschae/cors_plug/pull/47#issuecomment-373113029","issue_url":"https://api.github.com/repos/mschae/cors_plug/issues/47","id":373113029,"user":{"login":"mschae","id":473241,"avatar_url":"https://avatars0.githubusercontent.com/u/473241?v=4","gravatar_id":"","url":"https://api.github.com/users/mschae","html_url":"https://github.com/mschae","followers_url":"https://api.github.com/users/mschae/followers","following_url":"https://api.github.com/users/mschae/following{/other_user}","gists_url":"https://api.github.com/users/mschae/gists{/gist_id}","starred_url":"https://api.github.com/users/mschae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mschae/subscriptions","organizations_url":"https://api.github.com/users/mschae/orgs","repos_url":"https://api.github.com/users/mschae/repos","events_url":"https://api.github.com/users/mschae/events{/privacy}","received_events_url":"https://api.github.com/users/mschae/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T17:44:37Z","updated_at":"2018-03-14T17:44:37Z","author_association":"OWNER","body":"Thank you for your PR, I just released 1.5.1 with it!"}}
{"actor":{"display_login":"mschae"}}