跳过导航
404 > 403
0:00 / 1:13

404 > 403

nunomaduro

@enunomaduro6.8万 位关注者

在 X 上查看
45 个赞下载原帖

18,145 次观看

404 > 403

3 条评论

评论来自 X (Twitter) 上的原帖

  • Sander 的头像

    @sdevos16

    This only works if checking the policy takes the same amount of time as checking for existence.

    1 个赞

  • N-Silbernagel 的头像

    @n_silbernagel

    1/2 I think there is something to be said about the DX of such APIs though. As an example, we are using jFrog artifactory which returns 404 if a user does not have permissions to get a package from the npm registry.

  • Humberto Cuadra 的头像

    @hcdotdev

    As long as the endpoint is not already documented, otherwise it's just silly to not use 403