Metadata-Version: 1.1
Name: Flask-Modus3
Version: 0.0.3
Summary: Flask Method Overrides for python 2.7 and 3.6
Home-page: https://github.com/toChaim/flask-modus3
Author: Rhys Elsmore and Chaim Finkelman
Author-email: toChaim@gmail.com
License: Copyright 2013 Rhys Elsmore

   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.
Description-Content-Type: UNKNOWN
Description: Flask-Modus
        =====================
        This is the same flask_modus as done by Rhys Elsmore with a slight change by Chaim Finkelman to make it work with both python 3.6 and 2.7 .
        
        
        .. image:: https://secure.travis-ci.org/rhyselsmore/flask-modus.png?branch=master
        
        Enable Flask Method overrides via Query String and Headers.
        
        Allows for a much more enjoyable experience when building HTML which requires a custom method, or when using a client that doesn't support certain methods.
        
        The following methods are supported:
        
            - Get
            - Post
            - Put
            - Patch
            - Delete
            - Options
            - Head
        
        Installation
        ------------
        
        Installation is very straightforward::
        
            pip install flask-modus3
        
        Configuration
        -------------
        
        Configuration is pretty damn easy::
        
            from flask import Flask
            from flask_modus import Modus
        
            app = Flask(__name__)
            modus = Modus(app)
        
        *or*::
        
            from flask import Flask
            from flask_modus import Modus
        
            app = Flask(__name__)
            modus = Modus()
            modus.init_app(app)
        
        Usage
        -----
        
        Either append your favoured methods to the end of your query string::
        
            $ curl http://localhost:5000/?_method=put
        
        or supply a X-HTTP-Method-Override header::
        
            $ curl -H "X-HTTP-Method-Override: PUT" http://localhost:5000/
        
        *Note:* If you supply both a header and a query string parameter, the method specified in the header will be that which is used.
        
        
        History
        =======
        
        0.0.2 (9/7/2013)
        ----------------
        
        - Added requirements.txt for Testing Packages.
        - Included License.
        - PEP8 Compliance (and Docstrings).
        - setup.py now pushes package data.
        - Updated TravisCI (Comprehensive tests of multiple versions of Flask).
        
        0.0.1 (20/12/2012)
        ------------------
        
        - Conception
        - Initial Commit of Package to GitHub.
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
