Skip to content

Commit

Permalink
URL
Browse files Browse the repository at this point in the history
  • Loading branch information
rnixx committed Oct 10, 2012
1 parent 43e5c0e commit 0541b03
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 26 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
*.secret
.project
.pydevproject
dist/
src/yafowil.werkzeug.egg-info/
52 changes: 27 additions & 25 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,40 @@ This is the Werkzeug integration for YAFOWIL.
This package registers a global preprocessor for yafowil.
It wraps a Werkzeug derived request instance.

Special behaviors:

- Werkzeug params are returned in MultiDicts ``mixed`` flavor. This is how
YAFOWIL expects them.
IOW: If a query-key exists several times the values are aggregated in a list.
If a query-key exists one time, the value is returned as string.
Special behaviors
-----------------

Werkzeug params are returned in MultiDicts ``mixed`` flavor. This is how
YAFOWIL expects them.
IOW: If a query-key exists several times the values are aggregated in a list.
If a query-key exists one time, the value is returned as string.

- File Uploads provided by Werkzeug (stream, filename, mimetype, headers) as
are turned into Dicts with the keys:
**file**
file-like object to read data from
**filename**
submitted name of the upload
**mimetype**
type of the upload
**headers**
all headers
**original**
keeps the original stream object
File Uploads provided by Werkzeug (stream, filename, mimetype, headers) as
are turned into Dicts with the keys:

**file**
file-like object to read data from

**filename**
submitted name of the upload

**mimetype**
type of the upload

**headers**
all headers

**original**
keeps the original stream object


Detailed Documentation
======================

If you're interested to dig deeper: The `detailed YAFOWIL documentation
<http://yafowil.info>`_ is available. Read it and learn how to
create your example application with YAFOWIL.
If you're interested to dig deeper: The
`detailed YAFOWIL documentation <http://yafowil.info>`_ is available.
Read it and learn how to create your example application with YAFOWIL.


Source Code
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
keywords='werkzeug request response html input widgets',
author='BlueDynamics Alliance',
author_email='dev@bluedynamics.com',
url=u'http://packages.python.org/yafowil.werkzeug',
url=u'http://pypi.python.org/pypi/yafowil.werkzeug',
license='Simplified BSD',
packages=find_packages('src'),
package_dir={'': 'src'},
Expand Down

0 comments on commit 0541b03

Please sign in to comment.