Lines Matching refs:encoding
153 char *encoding; /* encoding extracted from the contentType */
157 int usesGzip; /* "Content-Encoding: gzip" was detected */
416 if (ctxt->encoding != NULL) xmlFree(ctxt->encoding);
711 if (ctxt->encoding != NULL)
712 xmlFree(ctxt->encoding);
713 ctxt->encoding = (char *) xmlStrndup(charset, last - charset);
736 if (ctxt->encoding != NULL)
737 xmlFree(ctxt->encoding);
738 ctxt->encoding = (char *) xmlStrndup(charset, last - charset);
767 } else if ( !xmlStrncasecmp( BAD_CAST line, BAD_CAST"Content-Encoding:", 17) ) {
1342 /* reserve for possible 'Accept-Encoding: gzip' string */
1386 p += snprintf(p, blen - (p - bp), "Accept-Encoding: gzip\r\n");
1692 * Provides the specified encoding if specified in the HTTP headers.
1694 * Return the specified encoding or NULL if not available
1700 return ( ( ctxt == NULL ) ? NULL : ctxt->encoding );