VirtualBox

Changeset 74117 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Sep 6, 2018 1:30:29 PM (6 years ago)
Author:
vboxsync
Message:

IPRT/rest: Started implemented more flexible handling of binary uploads and downloads. bugref:9167

Location:
trunk/src/VBox/Runtime
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/Makefile.kmk

    r74093 r74117  
    16551655        common/rest/RTCRestAnyObject.cpp \
    16561656        common/rest/RTCRestArrayBase.cpp \
     1657        common/rest/RTCRestBinaryString.cpp \
    16571658        common/rest/RTCRestClientApiBase.cpp \
    16581659        common/rest/RTCRestClientApiBaseOci.cpp \
  • trunk/src/VBox/Runtime/common/rest/RTCRestAnyObject.cpp

    r74093 r74117  
    109109            /* Currently unused of invalid: */
    110110            case kTypeClass_StringEnum:
     111            case kTypeClass_BinaryString:
    111112            case kTypeClass_Object:
    112113            case kTypeClass_Invalid:
     
    541542            /* Currently unused of invalid: */
    542543            case kTypeClass_StringEnum:
     544            case kTypeClass_BinaryString:
    543545            case kTypeClass_Object:
    544546            case kTypeClass_Invalid:
  • trunk/src/VBox/Runtime/common/rest/RTCRestClientRequestBase.cpp

    r74093 r74117  
    207207                RTCRestStringMapBase const *pMap    = (RTCRestStringMapBase const *)a_papHeaderParamObjs[i];
    208208                const size_t                cchName = strlen(a_paHeaderParams[i].pszName);
     209                Assert(a_paHeaderParams[i].pszName[cchName - 1] != '*');
    209210                RTCString                   strTmpName;
    210211                for (RTCRestStringMapBase::ConstIterator it = pMap->begin(); it != pMap->end(); ++it)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette