VirtualBox

Changeset 74070 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Sep 4, 2018 3:17:01 PM (6 years ago)
Author:
vboxsync
Message:

IPRT/rest: Redid the OCI-style signing code. Added a value length to RTHttpAddHeader so it's possible to deal efficiently with the 'host' field given an URL. bugref:9167

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/http.h

    r74064 r74070  
    317317 * @param   pszField        The header field name.
    318318 * @param   pszValue        The header field value.
     319 * @param   cchValue        The value length or RTSTR_MAX.
    319320 * @param   fFlags          Only RTHTTPADDHDR_F_FRONT or RTHTTPADDHDR_F_BACK,
    320321 *                          may be extended with encoding controlling flags if
    321322 *                          needed later.
    322323 */
    323 RTR3DECL(int) RTHttpAddHeader(RTHTTP hHttp, const char *pszField, const char *pszValue, uint32_t fFlags);
     324RTR3DECL(int) RTHttpAddHeader(RTHTTP hHttp, const char *pszField, const char *pszValue, size_t cchValue, uint32_t fFlags);
    324325
    325326/**
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