File: reference-modified.rst

package info (click to toggle)
feedparser 6.0.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,540 kB
  • sloc: xml: 11,459; python: 4,575; makefile: 7
file content (15 lines) | stat: -rw-r--r-- 574 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
:py:attr:`modified`
===================

The last-modified date of the feed, as specified in the
:abbr:`HTTP (Hypertext Transfer Protocol)` headers.

The purpose of :py:attr:`modified` is explained more fully in :ref:`http.etag`.

.. tip::

    :py:attr:`modified` will only be present if the feed was retrieved from a web
    server, and only if the web server provided a Last-Modified
    :abbr:`HTTP (Hypertext Transfer Protocol)` header for the feed.  If the feed
    was parsed from a local file or from a string in memory, :py:attr:`modified`
    will not be present.