rem: if ((soap->error = soap->fposthdr(soap, "Accept-Encoding", "gzip, deflate")))
add: if ((err = soap->fposthdr(soap, "Accept-Encoding", "gzip, deflate")))
context: http_post(struct soap *soap, const char *endpoint, const char *host, int port, const char *path, const char *action, size_t count){ const char *s;  if (soap->status == SOAP_GET)  { s = "GET";    count = 0;  }  else    s = "POST";#ifndef PALM  if (!endpoint || (strncmp(endpoint, "http:", 5) && strncmp(endpoint, "https:", 6) && strncmp(endpoint, "httpg:", 6)))#else  if (!endpoint || (strncmp(endpoint, "http:", 5) && strncmp(endpoint, "https:", 6) && strncmp(endpoint, "httpg:", 6)) && strncmp(endpoint, "_beam:", 6) && strncmp(endpoint, "_local:", 7) && strncmp(endpoint, "_btobex:", 8))#endif    return SOAP_OK;  if (soap->proxy_host)    sprintf(soap->tmpbuf, "%s %s HTTP/%s", s, endpoint, soap->http_version);  else    sprintf(soap->tmpbuf, "%s /%s HTTP/%s", s, path, soap->http_version);  if ((soap->error = soap->fposthdr(soap, soap->tmpbuf, NULL)))    return soap->error;  if (port != 80)    sprintf(soap->tmpbuf, "%s:%d", host, port);  else    strcpy(soap->tmpbuf, host);  if ((soap->error = soap->fposthdr(soap, "Host", soap->tmpbuf))   || (soap->error = soap->fposthdr(soap, "User-Agent", "gSOAP/2.6"))   || (soap->error = soap_puthttphdr(soap, SOAP_OK, count)))    return soap->error;#ifdef WITH_ZLIB#ifdef WITH_GZIP  if ((soap->error = soap->fposthdr(soap, "Accept-Encoding", "gzip, deflate")))#else  if ((soap->error = soap->fposthdr(soap, "Accept-Encoding", "deflate")))#endif    return soap->error;#endif#ifndef WITH_LEAN  if (soap->userid && soap->passwd && strlen(soap->userid) + strlen(soap->passwd) < 761)  { sprintf(soap->tmpbuf + 262, "%s:%s", soap->userid, soap->passwd);    strcpy(soap->tmpbuf, "Basic ");    soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, strlen(soap->tmpbuf + 262));    if ((soap->error = soap->fposthdr(soap, "Authorization", soap->tmpbuf)))      return soap->error;  }  if (soap->proxy_userid && soap->proxy_passwd && strlen(soap->proxy_userid) + strlen(soap->proxy_passwd) < 761)  { sprintf(soap->tmpbuf + 262, "%s:%s", soap->proxy_userid, soap->proxy_passwd);    strcpy(soap->tmpbuf, "Basic ");    soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, strlen(soap->tmpbuf + 262));    if ((soap->error = soap->fposthdr(soap, "Proxy-Authorization", soap->tmpbuf)))      return soap->error;  }#endif#ifdef WITH_COOKIES#ifdef WITH_OPENSSL  if (soap_putcookies(soap, host, path, soap->ssl != NULL))    return soap->error;#else  if (soap_putcookies(soap, host, path, 0))    return soap->error;#endif#endif  if (action)  { sprintf(soap->tmpbuf, "\"%s\"", action);    if ((soap->error = soap->fposthdr(soap, "SOAPAction", soap->tmpbuf)))      return soap->error;  }  return soap->error = soap->fposthdr(soap, NULL, NULL);}