Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

YAFOWIL - werkzeug integration

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 HISTORY.rst
Octocat-spinner-32 LICENSE.rst
Octocat-spinner-32 MANIFEST.in
Octocat-spinner-32 README.rst
Octocat-spinner-32 setup.py
README.rst

Introduction

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.

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 is available. Read it and learn how to create your example application with YAFOWIL.

Source Code

The sources are in a GIT DVCS with its main branches at github.

We'd be happy to see many forks and pull-requests to make YAFOWIL even better.

Contributors

Something went wrong with that request. Please try again.