Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 27, 2011
  1. @pokeb

    Update DONORS - thank you! :)

    pokeb authored
Commits on Jun 5, 2011
  1. @pokeb
  2. @pokeb

    Merge pull request #203 from fpillet/master

    pokeb authored
    Thread safety fix for +threadForRequest
  3. @pokeb
Commits on Jun 4, 2011
  1. @pokeb
  2. @pokeb

    Update DONORS - thank you! :)

    pokeb authored
  3. @pokeb
  4. @pokeb

    Tweak behaviour of ASIFormDataRequests various set/add value methods:

    pokeb authored
    * If key is empty, don't add anything (value can be empty)
    * All file/data methods now do through the long form addData:withFileName:andContentType:forKey: method, to cut down on a bit of duplication
    Thanks to Bas Scheffers for suggesting changes here!
Commits on Jun 2, 2011
  1. @fpillet

    Made +threadForRequest thread safe

    fpillet authored
    If you start multiple ASIHTTPRequests from different threads at the same time, you could encounter a condiition where networkThread is being multiply initialized
Commits on May 28, 2011
  1. @pokeb
  2. @pokeb
  3. @pokeb

    Merge pull request #190 from tianzhou/master

    pokeb authored
    need to use NOT NOT maxBandwidthPerSecond instead of (maxBandwidthPerSecond). Otherwise value like 1024 will be false
  4. @pokeb
  5. @pokeb
  6. @pokeb
  7. @pokeb
  8. @pokeb

    Prevent synchronous requests from using delegate authentication or AS…

    pokeb authored
    …IAuthenticationDialog
    
    Comment tweaks
Commits on May 19, 2011
  1. @tianzhou

    need to use NOT NOT maxBandwidthPerSecond instead of (maxBandwidthPer…

    tianzhou authored
    …Second). Otherwise value like 1024 will be false
Commits on May 16, 2011
  1. @steipete

    fixes wrong enum variable

    steipete authored
Commits on May 15, 2011
  1. @pokeb

    Important changes to download cache behaviour:

    pokeb authored
    ASIDownloadCache will now store 301, 302, 303 and 307 redirect responses in the cache. Requests pulling from the cache will automatically redirect (assuming shouldRedirect is true) as if they'd received a Location header from the server.
    This change should allow the download cache to operate more effectively as an offline fallback when no internet connection is available.
    Additionally, requests encountering a 304 will no longer read from the cache and then write back to it. Instead, they merely update the expiry date (if an updated date was supplied).
    As part of this work, two new required methods were added to the ASICacheDelegate protocol, see ASICacheDelegate.h for more info
    Finally, ASIDownloadCache now stores the response status code in a custom header in the cached headers dictionary, and requests will have their response status code set to this when they are pulled from the cache.
  2. @pokeb

    * Don't clear rawResponseData or remove file at temporaryFileDownload…

    pokeb authored
    …Path in cancelLoad if the whole download is complete
    
    * Also, don't clear responseHeaders in cancelLoad
    
    closes gh-182
  3. @pokeb
Commits on May 14, 2011
  1. @pokeb

    * Added DEBUG_HTTP_AUTHENTICATION

    pokeb authored
    * Tweak ouput from all debug options, adding a label to make debug output easier to scan
    * Tweak a couple of tests to make them more reliable
Commits on May 11, 2011
  1. @pokeb

    Fix leak

    pokeb authored
Commits on May 8, 2011
  1. @pokeb

    Merge branch 'auth-tweaks'

    pokeb authored
  2. @pokeb
  3. @pokeb

    Important changes to persistent connections behaviour:

    pokeb authored
    1) Fix a problem where a temporary request body would be discarded when retrying on a new connection
    2) By default, all requests using POST, PUT or having a body at the time requestMethod is set will NOT use a persistent connection.
    You can override this by setting requestMethod manually, then setting shouldAttemptPersistentConnection to YES
    
    closes gh-94
Commits on May 7, 2011
  1. @pokeb
  2. @pokeb

    Added [request tag] (closes gh-179)

    pokeb authored
    Updated SSL test to handle updated error message
  3. @pokeb

    Update DONORS - thank you!!

    pokeb authored
  4. @pokeb
  5. @pokeb

    Rework expiry handling in ASIDownloadCache:

    pokeb authored
    All requests now store a single expiry timestamp constructed from either secondsToCache, a cache-control: max-age header, or an expires header (in order of precedence)
    This is used for all expiry checks, and should speed up checking if cached data is stale because it elimiates the need for NSDateFormatter or NSScanner when reading from the cache
    (closes gh-173)
  6. @pokeb

    ASIDownloadCache: Added removeCachedDataForURL: (closes gh-180)

    pokeb authored
    Internal tweaks to remove a bit of duplication
Commits on Apr 30, 2011
  1. @pokeb

    Update donors - thanks so much!

    pokeb authored
Commits on Apr 11, 2011
  1. @pokeb
Something went wrong with that request. Please try again.