WordPress.org

Ready to get started?Download WordPress

Forums

Category feed is sending 412 HTTP code (4 posts)

  1. swaroopch
    Member
    Posted 9 years ago #

    My Python category specific feed is showing a 412 HTTP code. Because of that my posts are not getting aggregated.
    What do I have to do to make it run 200 OK ?

    $ grep planet logs/access_log | tail -2
    66.33.205.8 - - [18/Apr/2005:18:46:55 +0000] "GET /archives/category/tech/python/feed/ HTTP/1.0" 412 269 "-" "Planet Python http://www.planetpython.org/ Planet/0.2 http://www.planetplanet.org/ UltraLiberalFeedParser/2.7.6 +http://diveintomark.org/projects/feed_parser/"
    66.33.205.8 - - [18/Apr/2005:19:47:09 +0000] "GET /archives/category/tech/python/feed/ HTTP/1.0" 412 269 "-" "Planet Python http://www.planetpython.org/ Planet/0.2 http://www.planetplanet.org/ UltraLiberalFeedParser/2.7.6 +http://diveintomark.org/projects/feed_parser/"

    $ date
    Mon Apr 18 19:47:30 GMT 2005

    I am using WordPress 1.5 running on PHP5.
    I updated to the latest wp-blog-header.php from svn but even that didn't help.
    The feed URL is http://www.swaroopch.info/archives/category/tech/python/feed/

    Thanks in advance! :-)
    Swaroop

  2. darryl
    Member
    Posted 9 years ago #

    I can get your feed fine.

    Is it specific to the feedparser ?

  3. darryl
    Member
    Posted 9 years ago #

    Hmm, i just pulled your feed via feedparser no problems.

    >>>import feedparser
    >>>feed = feedparser.parse('http://www.swaroopch.info/archives/category/tech/python/feed/')
    >>>feed['status']
    200

  4. swaroopch
    Member
    Posted 9 years ago #

    Thanks Darryl for taking a look.

    I'm not sure why I'm still getting the 412 error. Maybe it has got something to do with mod_security or something...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.