private function getAcceptContentType($value)
   {
       if (CoreConstants::CONTENTTYPE_APPLICATIONXML === $value) {
           return $value;
       }

       if (CoreConstants::CONTENTTYPE_APPLICATIONJSON === $value) {
           return $value;
       }

       if (CoreConstants::CONTENTTYPE_APPLICATIONPDF === $value) {
           return $value;
       }

       if (CoreConstants::CONTENTTYPE_OCTETSTREAM === $value) {
           if ($this->ResponseSerializer instanceof XmlObjectSerializer) {
               return CoreConstants::CONTENTTYPE_APPLICATIONXML;
           }

           if ($this->ResponseSerializer instanceof JsonObjectSerializer) {
               return CoreConstants::CONTENTTYPE_APPLICATIONJSON;
           }
       }

       return "*/*";
   }
private function getAcceptContentType($value)
   {
       if (CoreConstants::CONTENTTYPE_APPLICATIONXML === $value) {
           return $value;
       }

       if (CoreConstants::CONTENTTYPE_APPLICATIONJSON === $value) {
           return $value;
       }

       if (CoreConstants::CONTENTTYPE_APPLICATIONPDF === $value) {
           return $value;
       }

       if (CoreConstants::CONTENTTYPE_OCTETSTREAM === $value) {
           if ($this->ResponseSerializer instanceof XmlObjectSerializer) {
               return CoreConstants::CONTENTTYPE_APPLICATIONXML;
           }

           if ($this->ResponseSerializer instanceof JsonObjectSerializer) {
               return CoreConstants::CONTENTTYPE_APPLICATIONJSON;
           }
       }

       return "*/*";
   }
private function getAcceptContentType ( $ value ) { if ( CoreConstants :: CONTENTTYPE_APPLICATIONXML === $ value ) { return $ value ; } if ( CoreConstants :: CONTENTTYPE_APPLICATIONJSON === $ value ) { return $ value ; } if ( CoreConstants :: CONTENTTYPE_APPLICATIONPDF === $ value ) { return $ value ; } if ( CoreConstants :: CONTENTTYPE_OCTETSTREAM === $ value ) { if ( $ this -> ResponseSerializer instanceof XmlObjectSerializer ) { return CoreConstants :: CONTENTTYPE_APPLICATIONXML ; } if ( $ this -> ResponseSerializer instanceof JsonObjectSerializer ) { return CoreConstants :: CONTENTTYPE_APPLICATIONJSON ; } } return "*/*" ; }
Accept anything if content type is not XML or Json
@param string $value
@return string
Accept anything if content type is not XML or Json