Lines Matching defs:encoding
153 char *encoding; /* encoding extracted from the contentType */
157 int usesGzip; /* "Content-Encoding: gzip" was detected */
426 if (ctxt->encoding != NULL) xmlFree(ctxt->encoding);
758 if (ctxt->encoding != NULL)
759 xmlFree(ctxt->encoding);
760 ctxt->encoding = (char *) xmlStrndup(charset, last - charset);
783 if (ctxt->encoding != NULL)
784 xmlFree(ctxt->encoding);
785 ctxt->encoding = (char *) xmlStrndup(charset, last - charset);
814 } else if ( !xmlStrncasecmp( BAD_CAST line, BAD_CAST"Content-Encoding:", 17) ) {
1420 /* reserve for possible 'Accept-Encoding: gzip' string */
1464 p += snprintf(p, blen - (p - bp), "Accept-Encoding: gzip\r\n");
1774 * Provides the specified encoding if specified in the HTTP headers.
1776 * Return the specified encoding or NULL if not available
1782 return ( ( ctxt == NULL ) ? NULL : ctxt->encoding );