ably-cocoa icon indicating copy to clipboard operation
ably-cocoa copied to clipboard

Remove `Accept` header setup for each request individually

Open maratal opened this issue 3 years ago • 0 comments

I've just noticed we should probably also set the Accept header on the request, [again similarly to -[ARTRest time:]]

I think it's a legacy code. Accept header is set later here for all requests: https://github.com/ably/ably-cocoa/blob/0fe3c59658ce7d0b7181571cdad1f068d4085088/Source/ARTRest.m#L313

Originally posted by maratal in https://github.com/ably/ably-cocoa/pull/1420#discussion_r917117828

┆Issue is synchronized with this Jira Task by Unito

maratal avatar Jul 08 '22 20:07 maratal