MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlNanoHTTPEncoding

Function xmlNanoHTTPEncoding

ThirdParty/libxml2/vtklibxml2/nanohttp.c:1745–1750  ·  view source on GitHub ↗

* xmlNanoHTTPEncoding: * @ctx: the HTTP context * * Provides the specified encoding if specified in the HTTP headers. * * Return the specified encoding or NULL if not available */

Source from the content-addressed store, hash-verified

1743 * Return the specified encoding or NULL if not available
1744 */
1745const char *
1746xmlNanoHTTPEncoding( void * ctx ) {
1747 xmlNanoHTTPCtxtPtr ctxt = (xmlNanoHTTPCtxtPtr)ctx;
1748
1749 return ( ( ctxt == NULL ) ? NULL : ctxt->encoding );
1750}
1751
1752/**
1753 * xmlNanoHTTPMimeType:

Callers 1

xmlCheckHTTPInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected