C_WebDavGetPropertyNames.js 874 B

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: hal
  3. // (C) Copyright IBM Corp. 2003, 2017.
  4. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. function C_WebDavGetPropertyNames(_hLN1, _hHD2, _hO72){this.F_ConstructBaseClass(_hLN1, "PROPFIND", _hHD2);this.F_SetRequestHeader( "Content-Type", 'text/xml; charset="utf-8"' );this.F_SetRequestHeader("Depth", isNaN(_hO72)?'0':_hO72.toString());this.F_SetRequestBody( '<D:propfind xmlns:D="DAV:"><D:propname/></D:propfind>' );};C_WebDavGetPropertyNames.F_Extends(C_WebRequest);C_WebDavGetPropertyNames.prototype.F_GetError=function(){var _hW52=C_WebDavGetPropertyNames.superClass.F_GetError.call(this);if(!_hW52){return null;}return new C_Error( "", this.F_GetStatus() + " - " + this.F_GetStatusText() + "\n" + this.F_GetUrl(), "" );};