Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove unnecessary Content-Type header setting from our NAM.

  • Loading branch information...
commit 7e2aa294421b0252edb45459f7661bcb9c86d474 1 parent c2d6b60
Michael Coffey authored June 18, 2012

Showing 1 changed file with 0 additions and 3 deletions. Show diff stats Hide diff stats

  1. 3  src/NetworkAccessManager.cpp
3  src/NetworkAccessManager.cpp
@@ -136,9 +136,6 @@ lastfm::NetworkAccessManager::createRequest( Operation op, const QNetworkRequest
136 136
 
137 137
     request.setAttribute( QNetworkRequest::CacheLoadControlAttribute, QNetworkRequest::PreferCache );
138 138
     request.setRawHeader( "User-Agent", lastfm::UserAgent );
139  
-
140  
-    if ( request.rawHeader( "Content-type" ).isEmpty() )
141  
-        request.setRawHeader( "Content-type", "application/x-www-form-urlencoded" );
142 139
     
143 140
 #ifdef WIN32
144 141
     // PAC proxies can vary by domain, so we have to check everytime :(

0 notes on commit 7e2aa29

Please sign in to comment.
Something went wrong with that request. Please try again.