Closed majecty closed 5 years ago
@majecty Would you explain the commit more?
Preflight is a message sent from a browser to a server before sending a not simple message to the server. When the server received the preflight message, the server should send a success response with headers that specifies available options.
Since we support "POST, OPTIONS" methods and "application/jsonrpc" in the "Content-Type" header, I added it. You can check the "Simple request" in this page.
This PR fixes #3