l.s.u.j.combo : module documentation

Part of lp.scripts.utilities.js

No module docstring
Function parse_url Parse a combo URL.
Function parse_qs Parse a query string.
Function combine_files Combine many files into one.
Function combo_app A simple YUI Combo Service WSGI app.
def parse_url(url):
Parse a combo URL.

Returns the list of arguments in the original order.

def parse_qs(query):
Parse a query string.

Returns the list of arguments in the original order.

def combine_files(fnames, root, resource_prefix='', minify_css=True, rewrite_urls=True):
Combine many files into one.

Returns an iterator with the combined content of all the files. The relative path to root will be included as a comment between each file.

def combo_app(root, resource_prefix='', minify_css=True, rewrite_urls=True):
A simple YUI Combo Service WSGI app.

Serves any files under C{root}, setting an appropriate C{Content-Type} header.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.