How do I setup CORS on Lotus Domino?

后端 未结 3 1472
隐瞒了意图╮
隐瞒了意图╮ 2021-01-14 15:08

I\'m attempting to communicate with Domino via REST via a cross domain request, but I\'m encountering an issue. I\'ve setup an Internet Site document with the IP Address, lo

3条回答
  •  醉梦人生
    2021-01-14 15:40

    I know this is kinda old thread but since it's not being answered and there are some news, I think it's worth throwing in my own findings.

    1. Mark Leusink caved into this and discovered that there's a need to accept also return code 204 for GET and 201 also for any write (PUT / POST) operations
    2. There is now a new possibility to include a fourth Response Header to all website rules by the means of notes.ini parameter "HTTPAdditionalRespHeader=", see this technote

    However, I'm also struggling on completing a CORS task currently, because Domino always responds with an 401 to the preflight (which seems clear as it comes unauthenticated, at least within Chrome).

提交回复
热议问题