mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
fix typo
This commit is contained in:
parent
0536b75761
commit
06946e559a
|
@ -79,7 +79,7 @@ void AnkiConnector::postToAnki( QString const & postData )
|
|||
QNetworkRequest request( url );
|
||||
request.setTransferTimeout( 3000 );
|
||||
// request.setAttribute( QNetworkRequest::RedirectPolicyAttribute, QNetworkRequest::NoLessSafeRedirectPolicy );
|
||||
request.setHeader( QNetworkRequest::ContentTypeHeader, "applicaion/json" );
|
||||
request.setHeader( QNetworkRequest::ContentTypeHeader, "application/json" );
|
||||
auto reply = mgr->post( request, postData.toUtf8() );
|
||||
connect( reply,
|
||||
&QNetworkReply::errorOccurred,
|
||||
|
|
Loading…
Reference in a new issue