Skip to content
This repository was archived by the owner on Jan 16, 2018. It is now read-only.
This repository was archived by the owner on Jan 16, 2018. It is now read-only.

Cannot detect that GET request has been canceled #29

@ir-fuel

Description

@ir-fuel

From my understanding if I call cancel on a LRRestyRequest it stops the NSURLConnection and calls finish, which in turn calls the completion block. However there is no way of knowing in my completion block that the request actually got canceled.

I would think that when canceling a long GET or POST operation the completion block either:

  • should not be called (after all we explicitly force a cancel)
  • should be called but it should have a way of doing that it is called because of a cancel and not because of a finish

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions