Patched issue #263 - (can't revert 'validatesSecureCertificate' once set to 'NO' on new requests)
Merge pull request #264 from ikarius/master

issue #263 - proposed patch
Issue #263

ASIFormDataRequest has a default 'GET' method (should be 'POST' by
default)
Correct indent
Merge pull request #268 from ikarius/master

Patched issue #263 (if needed)
Clean up the use of CFRunLoop.
Previously, tasks running from inside the CFRunLoop would call CFRunLoopStop prior to finishing execution. This results in non-deterministic failures to call endBackgroundTask when running iOS tasks in the background with beginBackgroundTaskWithExpirationHandler.
Since the only reason to break out of the CFRunLoop is to flush the autorelease pool, we instead invoke CFRunLoopRunInMode with returnAfterSourceHandled=True, which safely returns and flushes the autorelease pool after each invocation of the CFRunLoop.
Fixes dictionary memory leak. Refs #263.

A dictionary is allocated and never released. Problem was
introduced in commit:6600374880762608baed7e632bce73d45666768b.
Fixed bug preventing ASIAuthenticationDialog from being dismissed

In iOS 5, the ASIAuthenticationDialog could not be dismissed using either the Cancel button or automatically by successfully logging in.
The bug is due to a change in UIViewController in iOS 5.  The class & instance "dismiss" methods are using [UIViewController parentViewController] which, as of iOS 5, no longer returns the presenting view controller.  A new property called 'presentingViewController' was added in iOS 5 to make up for this.

Changed the class & instance dismiss methods to use the "presentingViewController" property if it is available (iOS 5+).  If not, it falls back to the "parentViewController" property.
Merge pull request #282 from gradha/fixes_dictionary_memory_leak

Fixes dictionary memory leak when certificate checking is disabled. Refs #263.

Problem was introduced in commit:6600374880762608baed7e632bce73d45666768b.
Merge pull request #295 from gcox/master

Fixed bug preventing ASIAuthenticationDialog from being dismissed on iOS5
Release request redirected block. (Otherwise it will leak.)
Merge fix for issue with backgroundTask not being ended on redirect

Identical patches submitted by both Carson Reinke & yllan - thanks!
Merge pull request #275 from erikchen/master

Clean up the use of CFRunLoop.
Rename userAgent -> userAgentString

Apparently Apple doesn't like it when asi-http synthesizes userAgent.

https://github.com/pokeb/asi-http-request/issues/309
Merge pull request #310 from erikchen/user_agent_fix

Rename userAgent -> userAgentString
Fix the userAgent test case.

#309
Merge pull request #312 from skabber/master

Update the test case due to the userAgent to userAgentString change.
fix 6 warnings in xCode 4.3.3 and xCode4.5 DP1
Fixed some format specifiers
Merge pull request #337 from MihaiDamian/master

Minor fixes for warnings reported by static analyzer