inabahare / lewd2

A based file uploader
https://lewd.se
GNU General Public License v3.0
23 stars 3 forks source link

Make lewd.sxcu return HTTP 401 when not logged in #19

Closed kattjevfel closed 5 years ago

kattjevfel commented 5 years ago

When accessing /lewd.sxcu while not logged in, the response code is still HTTP/1.1 200 OK, even though it tells the user to log in. This should probably be changed to 401 (https://tools.ietf.org/html/rfc7235#section-3.1) or similar

inabahare commented 5 years ago

image