kubo/core/corehttp
Marcin Rataj 8651143344 Gateway: add support for HTTP OPTIONS request type
OPTIONS is a noop request that is used by the browsers
to check if server will accept cross-site XMLHttpRequest
(indicated by the presence of CORS headers)

Before this fix user could enable CORS headers in the Gateway config,
but XHR failed due to the lack of support for OPTIONS request type
(as described in https://git.io/vzgGe)

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2016-01-21 23:22:54 +01:00
..
commands.go fix races in http cors 2015-10-13 01:09:55 +03:00
corehttp.go vendor logging lib update 2015-11-05 15:57:21 -08:00
gateway_handler.go Gateway: add support for HTTP OPTIONS request type 2016-01-21 23:22:54 +01:00
gateway_indexPage.go Bump version of dir-index-html 2015-09-05 01:06:35 +07:00
gateway_test.go gateway: add CurrentCommit to /version 2015-11-25 02:51:05 +01:00
gateway.go gateway: add CurrentCommit to /version 2015-11-25 02:51:05 +01:00
ipns_hostname.go gateway: add path prefix for directory listings 2015-11-16 07:00:57 +01:00
logs.go fix log hanging issue, and implement close-notify for commands 2015-11-05 15:57:28 -08:00
prometheus.go daemon: instrument the gateway and api HTTP handlers 2015-10-05 03:53:49 +02:00
redirect.go corehttp: add net.Listener to ServeOption 2015-08-02 08:16:51 +02:00
webui.go feat: Update to the latest version of the webui 2016-01-12 16:41:58 +01:00