Add debugging code

This commit is contained in:
Gergely Polonkai 2016-01-12 14:09:46 +01:00
parent 1059fe4392
commit 78bbf4ef18

View File

@ -668,6 +668,8 @@ _send(MatrixHTTPAPI *api,
datalen = 0; datalen = 0;
} }
g_debug("Sending (%s %s): %s", method, url, data);
soup_message_set_flags(message, SOUP_MESSAGE_NO_REDIRECT); soup_message_set_flags(message, SOUP_MESSAGE_NO_REDIRECT);
soup_message_set_request(message, soup_message_set_request(message,
"application/json", "application/json",