andrea-magni / MARS

MARS-Curiosity Delphi REST Library
Mozilla Public License 2.0
362 stars 113 forks source link

Fixed missing PATCH method in Access-Control-Allow-Methods if CORS is… #136

Closed Dennis1000 closed 1 year ago

Dennis1000 commented 1 year ago

The "Access-Control-Allow-Methods" header sent when CORS is enabled is missing the 'PATCH' command. Fixes #135

andrea-magni commented 1 year ago

Thank you @Dennis1000. I am going to update also ini files used for standard configuration as well.

Sincerely, Andrea

Dennis1000 commented 1 year ago

Some strange errors occurred when patching the INI files with ",PATCH", but maybe I made a mistake there.