• HTTP method Head with REST Domino Access Services ends in HTTP Status Code 405

    By Sven Petri 1 decade ago

    Hello,

    i am using the Domino REST Api that comes with the extension library/ upgrade pack.

    The HTTP method "head" on my domino server is configured to be a valid method. Head-Requests to other XPages return HTTP 200 and the needed headers fine.

    The REST Api returns 405 Method not supported.

    This looks like a bug to me since an api should handle head-requests for better performance.

    Example:

            C:\curl_728_1>curl.exe -I http://server/xpagesext.nsf/REST_DataService.xsp/viewEntriesPathInfo
        HTTP/1.1 405 Method Not Allowed
        Server: Lotus-Domino
        Date: Fri, 22 Feb 2013 09:04:25 GMT
        Connection: close
        Set-Cookie: SessionID=DEMBFEHX65; path=/
        Content-Type: text/html;charset=utf-8
        Content-Length: 2146