Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

"obey_over18" parameter to enable filtering of NSFW posts via API #407

Closed
talklittle opened this Issue · 1 comment

1 participant

@talklittle

As a side effect of the change in GH-402, the API now includes over18 posts in listings even for users with a "no over18" cookie.

In some cases this is undesirable for API clients, since if the client is responsible for filtering, then there will be a variable number of posts per listing page.

As @bboe suggested in GH-402 comments, we can add an "obey_over18" parameter to re-enable server-side filtering of over18 posts when obey_over18=true. By default I suppose it would be obey_over18=false which means the client would get all unfiltered posts even if a "no over18" cookie is included in the HTTP request.

@talklittle talklittle referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@talklittle

Closed by pull request GH-452

@talklittle talklittle closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.