-
-
Couldn't load subscription status.
- Fork 532
Closed
Labels
area-corebugThe issue in the code or project, which should be addressed.The issue in the code or project, which should be addressed.
Milestone
Description
pavsyk created Redmine issue ID 4430
If a static resource e.g. for a file "xyz.pdf" is created and the path to the file is incorrect, the server returns HTTP 200 response code with no content:
Date: Fri, 15 Apr 2011 08:34:01 GMT Server: Apache/2.2.16 (Debian) X-Powered-By: PHP/5.3.3-7 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Content-Length: 0 Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: application/pdf 200 OK
Expected behaviour: HTTP 404 response code, though it is a bit questionable, because the static resource exists, but the underlying file does not. Nevertheless, the response code shoud not be 200.
Metadata
Metadata
Assignees
Labels
area-corebugThe issue in the code or project, which should be addressed.The issue in the code or project, which should be addressed.