@@ -294,7 +294,6 @@ fetchURL url = do
294 let content_type = lookupHeader HdrContentType (getHeaders r)
294 let content_type = lookupHeader HdrContentType (getHeaders r)
295 content <- liftM (Just . toStr . encode . toBS) . getResponseBody $ Right r
295 content <- liftM (Just . toStr . encode . toBS) . getResponseBody $ Right r
296 return $ liftM2 (,) content_type content
296 return $ liftM2 (,) content_type content
299toBS :: String -> B.ByteString
298toBS :: String -> B.ByteString
300toBS = B.pack . map (toEnum . fromEnum)
299toBS = B.pack . map (toEnum . fromEnum)