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
HTMLPad 2018 15.5
WeBuilder 2018 15.5
SentiMask SDK Trial 2.0.0
Track Order For Magento 2 1.0.0
Calendar 365 For Dynamics CRM 4.0
Scimbo 1.2
Odoo Furnito Theme 1.0
.Net Assemblies/WSDL Import Utility for Delphi 6.0.4.0
Devart Excel Add-in for Zendesk 1.7
Excel Add-in for Marketo 1.7
GetOrgChart 2.5.3
AnyGantt JS Gantt Charts 8.6.0
AnyChart JS Charts and Dashboards 8.6.0
Multi Vendor Ecommerce Script & Apps 4.0
Magento 2 Inventory Management Extension 1.0
Top Code
Imaging Toolkit for Delphi 1.0
Design and Implementation of FIR Filter 1.0
Ace Waving Text
Top Rated
VisualNEO Web 2018.12.15
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
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
PHP GZ Blog Script 1.1
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: 6
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: 6



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