def write(url, content, **args):
    """Put the object/collection into a file URL."""
    with HTTPResource(url, **args) as resource:
        resource.write(content)
Put the object/collection into a file URL.