This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#609 closed defect (fixed)

Throw 404 when file does not exist

Reported by: pferreir Owned by: jmonnich
Priority: normal Milestone: v0.97.1
Component: General Version: 0.96.x
Keywords: Cc:

Description

Currently, 200 is returned even when a file accessed through getFile.py does not exist. This is not good, as crawlers, etc end up not knowing that the resource does not exist.

Change History (6)

comment:1 Changed 5 years ago by pferreir

  • Milestone changed from v0.98 to v0.97.1

comment:2 Changed 5 years ago by jmonnich

  • Owner set to jmonnich
  • Status changed from new to assigned

comment:3 Changed 5 years ago by jmonnich

  • Status changed from assigned to in_work

comment:4 Changed 5 years ago by jmonnich

  • Status changed from in_work to in_merge

comment:5 Changed 5 years ago by Adrian Moennich <jerome.ernst.monnich@…>

  • Resolution set to fixed
  • Status changed from in_merge to closed

In [cec111cd6a723990913a12e60c5f7e8b32f6cdbf/indico]:

[FIX] Use 404 statuscode for file not found errors

comment:6 Changed 5 years ago by Adrian Moennich <jerome.ernst.monnich@…>

In [cec111cd6a723990913a12e60c5f7e8b32f6cdbf/indico]:

[FIX] Use 404 statuscode for file not found errors

Note: See TracTickets for help on using tickets.