* xmlNanoHTTPReturnCode: * @ctx: the HTTP context * * Get the latest HTTP return code received * * Returns the HTTP return code for the request. */
| 1676 | * Returns the HTTP return code for the request. |
| 1677 | */ |
| 1678 | int |
| 1679 | xmlNanoHTTPReturnCode(void *ctx) { |
| 1680 | xmlNanoHTTPCtxtPtr ctxt = (xmlNanoHTTPCtxtPtr) ctx; |
| 1681 | |
| 1682 | if (ctxt == NULL) return(-1); |
| 1683 | |
| 1684 | return(ctxt->returnValue); |
| 1685 | } |
| 1686 | |
| 1687 | /** |
| 1688 | * xmlNanoHTTPAuthHeader: |