cyu / rack-cors

Rack Middleware for handling Cross-Origin Resource Sharing (CORS), which makes cross-origin AJAX possible.
MIT License
3.26k stars 263 forks source link

Refs #251, 862a776 Remove Rack::Utils::HeaderHash #252

Closed everton closed 1 year ago

everton commented 1 year ago

The Rack::Utils::HeaderHash was removed by Rack on the commit:

https://github.com/rack/rack/commit/a5762cf60af474b89b555ff8d151be5a021701f8#diff-85960cbd609e7f51a9881d1876b82d748f4ba8312a31e3329a5bb9bf791c60be

Xeej commented 1 year ago

I also encountered this problem, and this problem does not allow me to use swagger ui image image after the downgrade, the duplication disappears and the swagger ui works correctly

everton commented 1 year ago

Thanks for sharing the problem, @Xeej!

So, the tool is expecting the headers to be capitalized, right? Is it the tool, or is it something your definitions are specifying?

If it is the tool, is there any new version of this tool that conforms to the specs?