AFNetworking/AFNetworking — Issue #185: AFHTTPClient DefaultHeaders not propagating to HTTPRequestOperationWithRequest
Author: ianegordon
Created: 2012-01-20 20:03:36+00:00
State: open

I have created an AFHTTPClient and setDefaultHeaders.

When I use the AFHTTPClient to HTTPRequestOperationWithRequest:success:failure: the resulting AFHTTPRequestOperation does not have the client's Default Headers added to the request.

Is this expected behavior?

I would expect the client's headers would be appended to the URLRequest's headers when AFHTTPRequestOperation is created.