core: make category import compatible with WSGI
RESPONSE.write cannot be used with WSGI, so use another trick to return a response without commiting the transaction.
Showing
Please register or sign in to comment
RESPONSE.write cannot be used with WSGI, so use another trick to return a response without commiting the transaction.