diff options
| author | Shulhan <ms@kilabit.info> | 2024-03-05 15:34:37 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-03-05 16:21:54 +0700 |
| commit | f27e172853a81d97d37c95f7154c84128e2d6219 (patch) | |
| tree | 3a1fcb7287caa69d4ca216a41aadf1df36fb26c2 /lib/net/html/example_node_iterator_test.go | |
| parent | 9e781fabef12b3ce4fa1938061f8a3152420a9f4 (diff) | |
| download | pakakeh.go-f27e172853a81d97d37c95f7154c84128e2d6219.tar.xz | |
lib/http: handle CORS independently
Previously, if [CORSOptions.AllowOrigins] not found we return it
immediately without checking request "Access-Control-Request-Method",
"Access-Control-Request-Headers", and other CORS options.
This changes check each of them, a missing allow origins does not
means empty allowed method, headers, MaxAge, or credentials.
Diffstat (limited to 'lib/net/html/example_node_iterator_test.go')
0 files changed, 0 insertions, 0 deletions
