Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

trailing slash #189

Closed
Closed
@dbinetti

Description

I am getting totally flummoxed with trailing slashes. What is the best practice here? Per recommendations I've turned them off on the Django side (both APPEND_SLASHES and trailing_slashes=False on the DRF router) but then am having problems because Ember-Data asks for certain URLs with them (Collections, for instance.) BUT then sometimes it doesn't, with seemingly no pattern to it. Then, if I enable trailing slashes, sometimes things work but then sometimes they get 301'd and fail.

i'm exasperated by this. I can't find anything in the code or the spec that is definitive. thanks...

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

        AltStyle によって変換されたページ (->オリジナル) /