Opened 15 years ago
Closed 12 years ago
#18505 closed defect (bug) (fixed)
http 404 sent for the RSS feed when there are no posts - should be 200
| Reported by: | mark-k | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.0 |
| Component: | Feeds | Version: | 3.2.1 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
for sites with no posts, the HTTP status code returned for the RSS feed is 404, but since the address was a valid address and it just happens that the content is empty, a 200 status should be sent.
(It annoys link checkers which then report that there are broken link at the site because by default for most themes there is a link to the RSS feed in the header)
Attachments (2)
Change History (8)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Related: #17316 and its subsequent changeset at [18192].
I wonder if including
is_feed()in that conditional block will fix this issue?