Skip to content

Commit

Permalink
Added override for NSMutableURLRequest for the `URLRequestConvertib…
Browse files Browse the repository at this point in the history
…le` protocol.
  • Loading branch information
cnoon committed Aug 20, 2015
1 parent 97531ad commit 30a55d6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Source/Alamofire.swift
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ extension NSURLRequest: URLRequestConvertible {
}
}

extension NSMutableURLRequest {
public override var URLRequest: NSMutableURLRequest {
return self
}
}

// MARK: - Convenience

func URLRequest(
Expand Down

0 comments on commit 30a55d6

Please sign in to comment.