File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public class FeedReader.FeedHQConnection {
49
49
50
50
var message = new Soup .Message (" POST" , " https://feedhq.org/accounts/ClientLogin" );
51
51
string message_string = " Email=" + m_username + " &Passwd=" + m_passwd;
52
- message. set_request (" application/x-www-form-urlencoded" , Soup . MemoryUse . COPY , message_string. data);
52
+ message. set_request_body_from_bytes (" application/x-www-form-urlencoded" , new Bytes ( message_string. data) );
53
53
var response_body = m_session. send_and_read(message);
54
54
string response = (string )response_body. get_data();
55
55
try {
@@ -121,7 +121,7 @@ public class FeedReader.FeedHQConnection {
121
121
var message_string_post = message_string + " &T=" + m_utils. getPostToken();
122
122
if (message_string != null )
123
123
{
124
- message. set_request (" application/x-www-form-urlencoded" , Soup . MemoryUse . COPY , message_string_post. data);
124
+ message. set_request_body_from_bytes (" application/x-www-form-urlencoded" , new Bytes ( message_string_post. data) );
125
125
}
126
126
127
127
var response_body = m_session. send_and_read(message);
You can’t perform that action at this time.
0 commit comments