This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Premailer API PHP class | |
| * Premailer is a library/service for making HTML more palatable for various inept email clients, in particular GMail | |
| * Primary function is to convert style tags into equivalent inline styles so styling can survive <head> tag removal | |
| * Premailer is owned by Dialect Communications group | |
| * @link http://premailer.dialect.ca/api | |
| * @author Marcus Bointon <[email protected]> | |
| */ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # Reflects the requests from HTTP methods GET, POST, PUT, and DELETE | |
| # Written by Nathan Hamiel (2010) | |
| from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler | |
| from optparse import OptionParser | |
| class RequestHandler(BaseHTTPRequestHandler): | |
| def do_GET(self): |
NewerOlder