accept (property)

A list of acceptable MIME types for the request.


@property (nonatomic,readwrite,assign,getter=accept,setter=setAccept:) NSString* accept;
- (NSString*)accept;
- (void)setAccept:(NSString*)newAccept;
public var accept: String {
  get {...}
set {...} }

Default Value



If this property contains a non-empty string, an HTTP Accept header is added to the request.

The Accept header is used for content negotiation. It provides the server with a comma-separated list of MIME types that are acceptable for its response.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 iOS Edition - Version 20.0 [Build 8307]