Permalink
Browse files

Remove unnecessary Content-Type header setting from our NAM.

  • Loading branch information...
1 parent c2d6b60 commit 7e2aa294421b0252edb45459f7661bcb9c86d474 @eartle committed Jun 18, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/NetworkAccessManager.cpp
@@ -136,9 +136,6 @@ lastfm::NetworkAccessManager::createRequest( Operation op, const QNetworkRequest
request.setAttribute( QNetworkRequest::CacheLoadControlAttribute, QNetworkRequest::PreferCache );
request.setRawHeader( "User-Agent", lastfm::UserAgent );
-
- if ( request.rawHeader( "Content-type" ).isEmpty() )
- request.setRawHeader( "Content-type", "application/x-www-form-urlencoded" );
#ifdef WIN32
// PAC proxies can vary by domain, so we have to check everytime :(

0 comments on commit 7e2aa29

Please sign in to comment.