AFNetworking/AFNetworking — pull request #376 by mattt (2012-06-13 21:49:09+00:00)
Title: Automatically use HTTP pipelining for GET and HEAD requests in AFHTTPClient

Based on the suggestions in a WWDC session about networking, I'm starting to reconsider my original position on HTTP pipelining. There are some servers that don't support it, but for those that do, the performance benefit has been reported up to 3x speed improvement.

HTTP pipelining is already enabled by default on image requests, and we've yet to have any reports about that causing a problem.

This patch enables pipelining by default for requests using the almost-definitely-always-idempotent methods GET and HEAD.

Does this sound reasonable? Is there any strong reason why this shouldn't be done?