CORS allowed origins and methods

I am trying to implement CORS policy and was told to store the allowed domains in kvm. This works, but then I was told that each domain stored needs its own allowed set of methods. Key naming restrictions wont allow me to use the Origin url as a key where allowed methods would be the value. I could use a single large entry and parse through it, but this doesn't seem like a good solution if there will be large number of entries. How is this usually handled?

0 0 35
0 REPLIES 0