Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
iScripts Multicart Enterprise 1.3
CodeCompare 5.1
Uber Clone Script 3.0
Readymade Crowdfunding Script 2.2
Advanced Airbnb Script 1.3.1
SuiteCRM WordPress Customer Portal 3.2.0
Custom Auto Numbering For Dynamics CRM 2.2
MLM Board Plan 1.3
Uber for Massage 2.0
Job Board Software 1.1
RentALL - Airbnb Clone | Built with ReactJS 2.6
VB.Net PDF 2020.6.0
Flowrigami 1.0.0
SentiVeillance SDK Trial 7.3.2020.03.02
Entity Developer 6.8
Top Code
iScripts MultiCart Enterprise 1.1
Availability Booking Calendar PHP 1.0
ATN Site Builder 3.0
ATN Resume Finder 2.0
Readymade Crowdfunding Script 1.0.2
PHP Review Script 1.0
ICPennyBid Penny Auction Script 4.0
Invoice Manager by PHPJabbers 3.0
Aglowsoft SQL Query Tools 8.2
Classified Ad Lister 1.0
Solid File System OS edition 5.1
Deals and Discounts Website Script 1.0.2
CodeCompare 4.2
SentiVeillance SDK Trial 7.3.2020.03.02
Job Board Software 4.2
Top Rated
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
urllib2 for actions depending on http response codes 
File ID: 66466






urllib2 for actions depending on http response codes 
Download urllib2 for actions depending on http response codes http://code.activestate.com/recipes/267197-urllib2-for-actions-depending-on-http-response-cod/?in=lang-pythonReport Error Link
License: Freeware
Downloads: 7
Submit Rating:
urllib2 for actions depending on http response codes  Description
Description: I wanted to touch a particular web page (in order to open/close a database connection inside of Zope) so I came up with this module which uses urllib2 to make the web connection

I was not sure what a 'realm' was, so first I made the HTTPRealmFinder to find out what the realm is.

The HTTPinger calls my required page and acts according to the http return code.

License: Freeware

Related: Web

O/S:Windows

Downloads: 7



More Similar Code

A plugin that automatically schedules pending comments for approval, depending on a min/max threshold and the last comment's publish date and time.
When a comment is posted or when the admin is logged in, the plugin computes the most recent interval when a comment can be auto approved and picks a timestamp in that interval when to approve the pending comment.
Optional: Notify the site admin by email when a comment is approved.



JDBC is a driver JDBC on XML, it is possible, through the use of a specific syntax SQL with XPATH, to query a source XML on HTTP.



Web based music and discography library with some extra functions, eg. least distance finding beetween artists and albums. Look for an example on http://phabajin.net/musicdb



The script shows two plots; the time response and the phase plane for different initial conditions depending on the coordinates of the mouse pointer.



Context HTTP Headers provides a set of Context reactions that allow you to set HTTP Response Headers for each context on your site. It is a generalized framework for response header handling that allows the sending of any arbitrary header...



This plugin for WordPress will give up to four personalized messages depending on the origin of the visitors of your blog. Itd-deOaos originally based on the rthanks plugin by Alamsyah Rasyid.

If you are thinking about increasing your...



This module enables you to define zones and postal codes and depending on the zones or postal codes (user defined) it will return different transport costs.
Mainly handy when your company delivers items up until a certain zone/postal code and...



See paper "Minimum settling time control design through direct search methods" (preprint on http://arxiv.org/abs/1109.5966) by the same author.

The settling time of a closed-loop response, depending on controller parameters,...



Adds the ability for Support to send SMS messages depending on a ticket's state and priority.

This is a work in progress, sponsored by Tag1 Consulting, Inc. The administrative interface is very rough with limited validation and many...



Goldberg is a website development tool for Ruby on Rails that provides user management, role-based security, site navigation via menus that are dynamic depending on each user's role, and content pages (a very basic CMS).

User Review for urllib2 for actions depending on http response codes
- required fields
     

Please enter text on the image