The login command returns the information shown in this example:
HTTP/1.0 302 OK Date: Tue, 11 May 2002 22:38:33 GMT Pragma: no-cache Expires: 0 Cache-Control: no-cache Content-Length: 0 Last-modified: Tue, 11 May 2002 22:38:33 GMT Location: http://calendarserver/en/main.html?id=er6en05tv6n3bv9 &lang=en &host=http://calendarserver/