Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion Foundation/NSURLRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down