 
 
     /**
-     Returns the Http Headers
+
 
      - parameter documentUID:   the Document UID
      - parameter actionName: the actionName


            if document.metadata.identificationMethod == .key{
                if  let idv=document.metadata.identificationValue {
                    headers["kvid"]=idv
                }else{
                    headers["kvid"]=Default.VOID_STRING
                }
            }
            // We add the document observationUID
            headers["observationUID"]=document.UID

        }




     - returns: the http Headers
     */


    ///  Returns the HTTP headers
    ///
    /// - Parameters:
    ///   - documentUID: the document UID (used to collect the spaceUID, the identification method, ...)
    ///   - actionName: the action Name (for token Permission level)
    ///   - oUID: an optional observationUID if not set we will use the document.UID
    /// - Returns: the HTTP headers
    static open func httpHeadersWithToken(inDocumentWithUID documentUID: String,
                                          withActionName actionName: String,
                                          observableBy oUID:String=Default.NO_UID)->[String:String]{
        var headers=HTTPManager.baseHttpHeaders()

        if let document=Bartleby.sharedInstance.getDocumentByUID(documentUID){
