### Eclipse Workspace Patch 1.0
#P wordpress-trunk
Index: wp-includes/class-http.php
===================================================================
--- wp-includes/class-http.php	(revision 17521)
+++ wp-includes/class-http.php	(working copy)
@@ -459,6 +459,9 @@
 			}
 		}
 
+		if ( !empty( $newheaders['location'] ) && is_array( $newheaders['location'] ) )
+			$newheaders['location'] = $newheaders['location'][0];
+
 		return array('response' => $response, 'headers' => $newheaders, 'cookies' => $cookies);
 	}
 
