objective c - Restkit equivalent of `[NSMutableURLRequest HTTPShouldHandleCookies]` -


I have two pieces of software with a different approach:

  1. NSMutableURLRequest Using
  2. 1. In I have the following line:
      request HTTPSHoldHandleKooks = no; Since "approach  1. " works fine, now I am looking for the approach of using the rest of the circuit.  [NSHTTPCookieStorage sharedHTTPCookieStorage]  like:  
      NSHTTPCookieStorage * cookieStorage = [NSHTTPCookieStorage] when I  all get cookies Delete  same behavior sharedHTTPCookieStorage ]; For (cookie cookies cookieStorage.cookies) {{cookies remove cookies cookies: cookies}; }   

    However, this removes all cookies system-wide , so I'm signed out of affected websites in my browser.

    I now with HTTPShouldHandleCookies a way to get the equivalent of is exploring

    Update :

    I am using RestKit as:

      [Manager putObject: myObject path: path parameter: zero breakthrough: zero];    

    NSHTTPCookieStorage , you are in front of each cookie can ask to delete it ( domain / name using ) are the ways you can only filter Dilishns for the same domain in which you're interested. using

    Restkit, you can use RKObjectManager to NSURLRequest requestWithObject: method: path: using the following criteria: (or one of the related approaches), and after that you can modify your request and action (potentially using restructuring operations).

Comments

  1. ब्लॉक करें यदि कथन c प्रोग्राम
    Block if else statement

    ReplyDelete

Post a Comment

Popular posts from this blog

jasper reports - How to center align barcode using jasperreports and barcode4j -

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -