| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | change content-range parsing to regexp | Sergey Schetinin | 2011-09-26 | 1 | -34/+10 | |
| | | ||||||
| * | tidy up tests | Sergey Schetinin | 2011-09-26 | 1 | -4/+0 | |
| | | ||||||
| * | refactor Range to only handle a single range | Sergey Schetinin | 2011-09-26 | 2 | -94/+42 | |
| | | ||||||
| * | allow resp.etag = (tag, False) for setting weak etags | Sergey Schetinin | 2011-09-25 | 1 | -6/+10 | |
| | | ||||||
| * | version 1.2a21.2a2 | Sergey Schetinin | 2011-09-25 | 1 | -1/+1 | |
| | | ||||||
| * | test coverage back at 100% | Sergey Schetinin | 2011-09-25 | 1 | -2/+2 | |
| | | ||||||
| * | test coverage; transcode fixes; remove multidict_from_bodyfile | Sergey Schetinin | 2011-09-25 | 4 | -67/+27 | |
| | | ||||||
| * | Merge branch 'sergey-1.2-py2-only' into 1.2-merge | Sergey Schetinin | 2011-09-25 | 7 | -381/+403 | |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/test_descriptors.py tests/test_etag.py tests/test_misc.py tests/test_multidict.py tests/test_request.py tests/test_request_nose.py tox.ini webob/cookies.py webob/dec.py webob/descriptors.py webob/etag.py webob/exc.py webob/multidict.py webob/request.py webob/response.py | |||||
| | * | use except Exception as exc syntaxsergey-1.2-py2-only | Sergey Schetinin | 2011-09-24 | 2 | -3/+3 | |
| | | | ||||||
| | * | merge transcode into request | Sergey Schetinin | 2011-09-22 | 2 | -91/+72 | |
| | | | | | | | | | * req = req.decode() | |||||
| | * | improve webob.transcode | Sergey Schetinin | 2011-09-22 | 1 | -47/+60 | |
| | | | | | | | | | | | * add Transcoder * use Request for environ manipulation | |||||
| | * | make 304 response generation a bit more tidy | Sergey Schetinin | 2011-09-22 | 1 | -4/+4 | |
| | | | ||||||
| | * | improve req.charset handling | Sergey Schetinin | 2011-09-22 | 1 | -31/+47 | |
| | | | | | | | | | | | | | | | | | | | * allow creating request with non-utf-8 charset in content-type * actually detect charset for req.charset * when setting allow noop assigns * check charset in POST * allow GET to work with any charset * add _content_type_raw attr | |||||
| | * | enable weak matching for if-none-match | Sergey Schetinin | 2011-09-21 | 2 | -3/+3 | |
| | | | | | | | | | | | * parse req.if_none_match with ETagMatcher.parse(val, strong=False) * full tests | |||||
| | * | much stricter parsing for if-none-match, if-range and if-match headers | Sergey Schetinin | 2011-09-21 | 2 | -31/+13 | |
| | | | ||||||
| | * | remove internal weak/strong differentiation in ETagMatcher, filter weak out ↵ | Sergey Schetinin | 2011-09-21 | 1 | -31/+18 | |
| | | | | | | | | | | | | | | | by default * remove ETagMatcher.weak_etags * new arg to ETagMatcher.parse(value, strong=True) | |||||
| | * | change IfRange api to `resp in req.if_range` | Sergey Schetinin | 2011-09-21 | 2 | -16/+8 | |
| | | | | | | | | | | | | | * when parsing if-range, drop weak etags * remove IfRange.match and .match_response * adjust tests | |||||
| | * | better support for weak response etag | Sergey Schetinin | 2011-09-21 | 3 | -14/+30 | |
| | | | | | | | | | | | | | | | | | * when setting resp.etag to a well-formed value, do not escape it * when reading resp.etag return weak etag contents as well (was returning None) * add resp.etag_strong r/o attr that returns the same value as resp.etag for strong etags and None otherwise * change IfRange matching to use etag_strong | |||||
| | * | set request body as seekable after transcoding | Sergey Schetinin | 2011-09-20 | 1 | -0/+1 | |
| | | | ||||||
| | * | GetDict.tracker -> on_change | Sergey Schetinin | 2011-09-20 | 2 | -21/+17 | |
| | | | ||||||
| | * | remove todo that is no longer relevant | Sergey Schetinin | 2011-09-20 | 1 | -1/+0 | |
| | | | ||||||
| | * | hardcode utf-8 into FakeCGIBody and MultiDict.form_fieldstorage | Sergey Schetinin | 2011-09-20 | 2 | -9/+7 | |
| | | | ||||||
| | * | mark Response.unicode_errors for deprecation | Sergey Schetinin | 2011-09-20 | 1 | -1/+1 | |
| | | | ||||||
| | * | hardcode Request.charset to 'UTF-8' | Sergey Schetinin | 2011-09-20 | 3 | -78/+40 | |
| | | | | | | | | | | | * raise errors if trying to pass non-utf8 charset to Request or to set it later, same for * remove unicode_errors, raise errors if passed into constructor | |||||
| | * | remove debug prints in trasncode | Sergey Schetinin | 2011-09-20 | 1 | -2/+0 | |
| | | | ||||||
| | * | add webob.transcode | Sergey Schetinin | 2011-09-20 | 2 | -15/+96 | |
| | | | | | | | | | | | | | * new detect_charset func * _encode_multipart now assumes utf8 and can write to caller-supplied file object * some tests | |||||
| | * | refactor Cookie.load | Sergey Schetinin | 2011-09-20 | 1 | -18/+20 | |
| | | | | | | | | | | | * add _parse_cookie for parsing the internal cookie k,v pairs * simpler Cookie.load implementation thanks to the new method Cookie.add(k, v) -> Morsel (or {} if k is not a valid name) | |||||
| | * | change req.cookies implementation to parse on demand | Sergey Schetinin | 2011-09-20 | 2 | -16/+18 | |
| | | | | | | | | | | | | | * add webob.cookies.parse_cookie for simple parsing * change _valid_cookie_name implementation to filter out $key and reserved names * do not cache parsed cookies dict in the environ | |||||
| | * | drop UnicodeMultiDict; change TrackableMultiDict -> GetDict | Sergey Schetinin | 2011-09-20 | 2 | -215/+63 | |
| | | | | | | | | | | | | | * decode cgi.FieldStorage in MultiDict.from_fieldstorage * add encoding and errors params to FakeCGIBody * same for _encode_multipart | |||||
| | * | req.script_name and .path_info contain unicode now | Sergey Schetinin | 2011-09-20 | 3 | -35/+42 | |
| | | | | | | | | | | | * uscript_name and upath_info are deprecated * change deprecated_property implementation | |||||
| | * | don't special-case ETagMatcher.parse('*') | Sergey Schetinin | 2011-09-20 | 1 | -2/+2 | |
| | | | ||||||
| | * | refactor IfRange | Sergey Schetinin | 2011-09-20 | 3 | -72/+45 | |
| | | | | | | | | | | | | | * remove NoIfRange * separate IfRangeDate class * simpler __str__ and __repr__ | |||||
| | * | remove what remains of py25 support | Sergey Schetinin | 2011-09-20 | 1 | -6/+1 | |
| | | | ||||||
| | * | cherrypick some low-impact changes from chrism-py3 branch | Sergey Schetinin | 2011-09-19 | 3 | -18/+20 | |
| | | | ||||||
| | * | deprecate more stuff | Sergey Schetinin | 2011-09-18 | 7 | -177/+54 | |
| | | | | | | | | | | | | | | | | | | | * WARNING! doctests are broken * finalize deprecation of Request.str_* * finalize deprecation of first_match and weak_match * raise error when decode_param_names is used in any way * raise error when accessing HTTPException.exception * hardcode key decoding in UnicodeMultiDict | |||||
| * | | remove exec_, change reraise to take single argument | Sergey Schetinin | 2011-09-25 | 2 | -27/+7 | |
| | | | ||||||
| * | | remove print_ from compat | Sergey Schetinin | 2011-09-25 | 1 | -48/+0 | |
| | | | ||||||
| * | | fix etag_md5(set_content_md5=True) | Sergey Schetinin | 2011-09-25 | 1 | -4/+5 | |
| | | | | | | | | | | | * content-md5 has to be base64 encoded, so the '==' should not be stripped * also str(b'..') produces ugly results on py3 and tests were just copying that code as well | |||||
| * | | _empty_bytes -> b'' | Sergey Schetinin | 2011-09-25 | 1 | -4/+2 | |
| | | | ||||||
| * | | rewrite _status__set | Sergey Schetinin | 2011-09-25 | 1 | -9/+9 | |
| | | | ||||||
| * | | binary_type -> bytes | Sergey Schetinin | 2011-09-25 | 7 | -17/+9 | |
| | | | ||||||
| * | | replace iteritems_(kw) with kw.items() | Sergey Schetinin | 2011-09-25 | 1 | -5/+3 | |
| | | | ||||||
| * | | remove text_to_wsgi | Sergey Schetinin | 2011-09-25 | 2 | -10/+2 | |
| | | | | | | | | | | | | | | | | | if the header is set to * text on py3 we trust it to be in latin-1 charset * bytes on py3 the resulting response is invalid * text on py2 we encode to latin-1 like we always did * bytes on py2 we use it verbatim | |||||
| * | | specialize upath_property by py version | Sergey Schetinin | 2011-09-25 | 1 | -6/+13 | |
| | | | ||||||
| * | | use undeprecated escape | Chris McDonough | 2011-09-24 | 2 | -2/+6 | |
| | | | ||||||
| * | | make path_info, script_name unicode, deprecate u* | Sergey Schetinin | 2011-09-24 | 1 | -5/+14 | |
| | | | ||||||
| * | | fix url_unquote on py3 (should be real url -> bytes -> unquote -> latin-1 text) | Sergey Schetinin | 2011-09-24 | 1 | -1/+1 | |
| | | | ||||||
| * | | implement url_unquote as a wrapper around compat.unquote on py3 | Sergey Schetinin | 2011-09-24 | 1 | -3/+5 | |
| | | | ||||||
| * | | _empty_byte -> b'' | Sergey Schetinin | 2011-09-24 | 1 | -9/+7 | |
| | | | ||||||
| * | | make all cookie morsel values bytes | Sergey Schetinin | 2011-09-24 | 2 | -13/+11 | |
| | | | ||||||
