linagora / james-project

Mirror of Apache James Project
Apache License 2.0
70 stars 63 forks source link

Update `Access-Control-Allow-Methods` header in JMAP request #5159

Closed vttranlina closed 2 months ago

vttranlina commented 3 months ago

Right now the header is "Access-Control-Allow-Methods", "GET, POST, DELETE, PUT"

It is not correct We only support: POST: Jmap, upload GET: download OPTIONS: for check cors (// I used Find in Files feature (intellij) by keyword "HttpMethod." in jmap-rfc-8621)

Dod

https://github.com/apache/james-project/pull/2177#discussion_r1560396918 Test case return "GET, POST, OPTIONS"

vttranlina commented 2 months ago

pr https://github.com/apache/james-project/pull/2233