Announcement

Collapse
No announcement yet.

HttpGetHeaders

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • nbrownett
    started a topic HttpGetHeaders

    HttpGetHeaders

    How does one retrieve the number of headers returned from a call to HttpGetHeaders?

    This function is unusable with out this information.

    Using EVO XPort-Port SDK 5.4.0.0.R7.

  • nbrownett
    replied
    Yes HttpGetHeader works great if I know the specific header(s) I'm looking for.

    In the current case we need to store all the headers received, so that we can return those same headers in the send, hence we don't know the header names.

    Leave a comment:


  • garry0427
    replied
    Doesn't seem to indicate the count, or and end of the array.
    Consider:
    char * HttpGetHeader(struct http_client * pClient, char *pHeader);
    Example:
    contentType = HttpGetHeader(httpClient, "Content-Type");

    Leave a comment:

Working...
X