From 408328f11b87a1c2d8f76928a544c7dec6038a60 Mon Sep 17 00:00:00 2001 From: Masoud Naservand Date: Wed, 27 May 2015 14:01:59 +0430 Subject: [PATCH] fixed a few typos in wsgi.py --- werkzeug/wsgi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/werkzeug/wsgi.py b/werkzeug/wsgi.py index 25264eab6..9c2edf5a7 100644 --- a/werkzeug/wsgi.py +++ b/werkzeug/wsgi.py @@ -182,7 +182,7 @@ def get_input_stream(environ, safe_fallback=True): .. versionadded:: 0.9 :param environ: the WSGI environ to fetch the stream from. - :param safe: indicates weather the function should use an empty + :param safe: indicates whether the function should use an empty stream as safe fallback or just return the original WSGI input stream if it can't wrap it safely. The default is to return an empty string in those cases. @@ -191,7 +191,7 @@ def get_input_stream(environ, safe_fallback=True): content_length = get_content_length(environ) # A wsgi extension that tells us if the input is terminated. In - # that case we return the stream unchanged as we know we can savely + # that case we return the stream unchanged as we know we can safely # read it until the end. if environ.get('wsgi.input_terminated'): return stream