Skip to content
This repository was archived by the owner on Mar 12, 2024. It is now read-only.
This repository was archived by the owner on Mar 12, 2024. It is now read-only.

NetworkStack send each authenticate request twice #26

@Greensource

Description

@Greensource

As Alamofire fire immediatly after creation the request by default, the method updateRequestAuthorizationHeader duplicate the request at this line of code :
self.requestManager.request(newURLRequest)

I propose, to improve clarity of the code to set startRequestsImmediately to false, and resume the request at the end, in the sendRequest method

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions