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