Module Expr Str Expr Str ImportFrom alias alias FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore IfExp NameLoad Call AttributeLoad NameLoad attr Str Str Assign TupleStore NameStore NameStore NameStore NameStore TupleLoad Num Str Dict Str With Call AttributeLoad AttributeLoad NameLoad attr attr NameStore body If UnaryOpNot NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad If CompareNotEq BinOpFloorDiv NameLoad Num Num body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad orelse If CompareNotIn Str Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad If CompareNotEq BinOpFloorDiv NameLoad Num Num body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad orelse Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr Str Num If CompareNotEq BinOpFloorDiv NameLoad Num Num body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Str keyword Num keyword Call AttributeLoad Str attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Str keyword Str keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore IfExp NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Str NameLoad Assign NameStore NameLoad If AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr orelse Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Return Call NameLoad NameLoad NameLoad keyword NameLoad decorator_list decorator_list
N/A N/A 
Contains a CLICommand that can issue POST requests.

Uses the following from :py:class:`swiftly.cli.context.CLIContext`:

==============  ============================================
cdn             True if the CDN Management URL should be used instead
                of the Storage URL.
client_manager  For connecting to Swift.
headers         A dict of headers to send.
io_manager      For directing output.
query           A dict of query parameters to send.
==============  ============================================
 N/A 
Copyright 2011-2013 Gregory Holt

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
 swiftly.cli.command CLICommand ReturnCode cli_post N/A N/A context path body N/A None N/A N/A 
    Performs a POST on the item (account, container, or object).

    See :py:mod:`swiftly.cli.post` for context usage information.

    See :py:class:`CLIPost` for more information.

    :param context: The :py:class:`swiftly.cli.context.CLIContext` to
        use.
    :param path: The path to the item to issue a POST for.
    :param body: The body send along with the POST.
     N/A path N/A path N/A N/A path lstrip / N/A N/A status reason headers contents N/A 0 Unknown N/A N/A N/A N/A N/A context client_manager with_client client N/A N/A N/A path N/A N/A N/A status reason headers contents N/A N/A client post_account headers N/A context headers query N/A context query cdn N/A context cdn body body N/A N/A N/A status 100 2 N/A N/A N/A ReturnCode N/A posting account: %s %s N/A status reason N/A N/A N/A / N/A N/A path rstrip / N/A N/A path N/A N/A path rstrip / N/A N/A status reason headers contents N/A N/A client post_container path headers N/A context headers query N/A context query cdn N/A context cdn body body N/A N/A N/A status 100 2 N/A N/A N/A ReturnCode N/A posting container %r: %s %s N/A path status reason N/A N/A N/A status reason headers contents N/A N/A client post_object headers N/A context headers query N/A context query cdn N/A context cdn body body N/A N/A path split / 1 N/A N/A N/A status 100 2 N/A N/A N/A ReturnCode N/A posting object %r: %s %s N/A path status reason N/A CLIPost N/A CLICommand N/A N/A 
    A CLICommand that can issue POST requests.

    See the output of ``swiftly help post`` for more information.
     __init__ N/A N/A self cli N/A N/A N/A N/A N/A N/A super CLIPost self __init__ cli post max_args 1 usage N/A N/A 
Usage: %prog [main_options] post [options] [path]

For help on [main_options] run %prog with no args.

Issues a POST request of the [path] given. If no [path] is given, a POST
request on the account is performed. strip N/A N/A N/A N/A self option_parser add_option -h -H --header dest header action append metavar HEADER:VALUE help Add a header to the request. This can be used multiple times for multiple headers. Examples: -hx-object-meta-color:blue -h "Content-Type: text/html" N/A N/A N/A N/A self option_parser add_option -q --query dest query action append metavar NAME[=VALUE] help Add a query parameter to the request. This can be used multiple times for multiple query parameters. Example: -qmultipart-manifest=get N/A N/A N/A N/A self option_parser add_option -i --input dest input_ metavar PATH help Indicates where to read the POST request body from; use a dash (as in "-i -") to specify standard input since POSTs to Swift do not normally take input. N/A __call__ N/A N/A self args N/A N/A N/A N/A options args context N/A N/A self parse_args_and_create_context args N/A N/A context headers N/A N/A self options_list_to_lowered_dict N/A options header N/A N/A context query N/A N/A self options_list_to_lowered_dict N/A options query N/A path N/A args N/A N/A N/A N/A args pop 0 lstrip / None N/A body None N/A N/A options input_ N/A N/A N/A N/A options input_ - N/A N/A body N/A N/A N/A N/A N/A self cli context io_manager get_stdin N/A N/A body N/A open N/A options input_ rb N/A N/A cli_post context path body body N/A N/A