Skip to content

Misleading text in the ajax ifModified documentation #607

Open
@jamesplease

Description

@jamesplease

Version: 2.1.1

It's possible that I'm misinterpreting this, but the documentation for ifModified explains:

To cause the request to report failure if the asset has not been modified since the last request, set ifModified to true.

Based on this, I expected a request to an unmodified resource to reject the Deferred object. However, it actually resolves. It seems unlikely that this behavior isn't intentional, so perhaps the wording there could be improved to explain that the Deferred will be resolved?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions