Announcement

Collapse
No announcement yet.

HttpGetHeaders

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

  • 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.

  • #2
    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");

    Comment


    • #3
      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.

      Comment

      Working...
      X