diff --git a/Foundation/NSURLRequest.swift b/Foundation/NSURLRequest.swift index 110b18a395..796c06ccfd 100644 --- a/Foundation/NSURLRequest.swift +++ b/Foundation/NSURLRequest.swift @@ -243,7 +243,7 @@ public class NSURLRequest : NSObject, NSSecureCoding, NSCopying, NSMutableCopyin @abstract Returns the HTTP request method of the receiver. @result the HTTP request method of the receiver. */ - public var HTTPMethod: String? { get { NSUnimplemented() } set { NSUnimplemented() } } + public var HTTPMethod: String? { get { NSUnimplemented() }} /*! @method allHTTPHeaderFields @@ -322,6 +322,13 @@ public class NSMutableURLRequest : NSURLRequest { */ /*@NSCopying*/ public override var mainDocumentURL: NSURL? { get { NSUnimplemented() } set { NSUnimplemented() } } + /*! + @method HTTPMethod + @abstract Sets the HTTP request method of the receiver. + @result the HTTP request method of the receiver. + */ + public override var HTTPMethod: String? { get { NSUnimplemented() } set { NSUnimplemented() } } + /*! @method setValue:forHTTPHeaderField: @abstract Sets the value of the given HTTP header field.