Skip to content

AFHTTPRequest's all request will be GET method after register RNCachingURLProtocol #27

@zicjin

Description

@zicjin

didFinishLaunchingWithOptions add:
[NSURLProtocol registerClass:[RNCachingURLProtocol class]];
then:
AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager]; [manager POST:@"http://domain.com" parameters: …… success:…… ]
this request will be GET method type.

when annotation 「[NSURLProtocol registerClass:[RNCachingURLProtocol class]];」,AFHTTPRequest is successful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions