| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | dont try to decode remote_user | Chris McDonough | 2012-01-28 | 1 | -3/+1 |
| | | |||||
| * | give up on trying to encode header values when request.headers is used | Chris McDonough | 2012-01-28 | 2 | -11/+14 |
| | | |||||
| * | more spurious diff removal | Chris McDonough | 2012-01-28 | 1 | -8/+8 |
| | | |||||
| * | add change notes, reduce spurious diffs | Chris McDonough | 2012-01-28 | 1 | -30/+28 |
| | | |||||
| * | set deprecated properties on BaseRequest rather than LegacyRequest, use ↵ | Chris McDonough | 2012-01-28 | 2 | -13/+16 |
| | | | | | environ_getter for presumed-ascii-only settings | ||||
| * | bytesrequest renamed to legacyrequest... it no longer eagerly converts to ↵ | Chris McDonough | 2012-01-28 | 3 | -132/+87 |
| | | | | | bytes, it just presents the older native string api expected by existing systems. textrequest renamed to baserequest, it is the new default request type.. it no longer eagerly converts to text, either unless an encattr is named on the environ_decoder | ||||
| * | test textrequest and bytesrequest independently | Chris McDonough | 2012-01-28 | 2 | -11/+12 |
| | | |||||
| * | use latin-1 as the default decoder/encoder | Chris McDonough | 2012-01-26 | 1 | -2/+2 |
| | | |||||
| * | use environ[REQUEST_METHOD] rather than req.method in case we decide to ↵ | Chris McDonough | 2012-01-26 | 1 | -5/+6 |
| | | | | | leave it bytes | ||||
| * | make upath_property take into account url encoding | Chris McDonough | 2012-01-26 | 1 | -5/+9 |
| | | |||||
| * | get rid of useless literals | Chris McDonough | 2012-01-26 | 1 | -13/+5 |
| | | |||||
| * | make charset a native string, make _content_type_raw an environ getter ↵ | Chris McDonough | 2012-01-26 | 1 | -13/+11 |
| | | | | | rather than environ decoder | ||||
| * | turn remote_user_encoding and url_encoding into environ_getters (adding ↵ | Chris McDonough | 2012-01-26 | 2 | -15/+19 |
| | | | | | webob.remote_user_encoding and webob.url_encoding vars to environ), fix _request_uri for Python 3, improve _abs_headerlist, dont decode scheme when looking up | ||||
| * | fix EnvironHeaders class to do encoding and decoding properly | Chris McDonough | 2012-01-26 | 2 | -14/+11 |
| | | |||||
| * | unused imports, long line | Chris McDonough | 2012-01-26 | 3 | -5/+2 |
| | | |||||
| * | remove missing NoIfRange from __all__ | Chris McDonough | 2012-01-26 | 1 | -2/+1 |
| | | |||||
| * | make bytesrequest work on python 3 | Chris McDonough | 2012-01-26 | 1 | -58/+98 |
| | | |||||
| * | move environ_decoder descriptor next to environ_getter | Chris McDonough | 2012-01-25 | 1 | -28/+31 |
| | | |||||
| * | First cut at distinct TextRequest/BytesRequest implementations as a | Chris McDonough | 2012-01-25 | 2 | -87/+179 |
| | | | | | | | | | | | | | | | | | | | | | fix for issue #21. TextRequest is the default when Request or BaseRequest is imported under Python 3 for backwards compatibility. The only difference Python 3 users should see after upgrading to this: script_name and path_info will be decoded, and methods which erroneously dealt in raw environ values will now deal correctly in text. BytesRequest is the default when Request or BaseRequest is imported under Python 2 for backwards compatibility. It works just like the old BaseRequest under Python 2. Under Python 2, environ values are still dealt with as bytes by all methods. Under Python 3, it coerces all environ values to bytes. It's doubtful anyone will use this under Python 3. Either BytesRequest or TextRequest are usable directly under Python 2 or Python 3, but the intent is to transition people over time to TextRequest on both. Certainly new frameworks could start off using TextRequest. | ||||
| * | fix status_int/status bug on py3 (use explicit floor division), add coverage | Chris McDonough | 2012-01-08 | 1 | -2/+2 |
| | | |||||
| * | add warning to docstring of client_addr (closes #20) | Chris McDonough | 2012-01-06 | 1 | -0/+10 |
| | | |||||
| * | __all__ definition duplicate removed | Piotr Husiatyński | 2012-01-01 | 1 | -2/+0 |
| | | |||||
| * | fix https://github.com/Pylons/webob/issues/18 (non-ascii form POST, then ↵ | Sergey Schetinin | 2011-12-26 | 2 | -5/+9 |
| | | | | | parse, then serialize) | ||||
| * | Improving compliance with RFC2616 re HTTP status codes - now an application can | Michael Stella | 2011-12-06 | 2 | -3/+19 |
| | | | | | | provide an arbitrary code, and a generic message (based on the x00 code in the same class) will be generated, rather than raising KeyError. | ||||
| * | * Added ``request.client_addr`` API (returns IP address implied by | Chris McDonough | 2011-10-28 | 1 | -0/+20 |
| | | | | | HTTP_X_FORWARDED_FOR, falling back to REMOTE_ADDR). | ||||
| * | * Added ``request.host_port`` API (returns port number implied by HTTP_HOST, | Chris McDonough | 2011-10-28 | 1 | -0/+27 |
| | | | | | falling back to SERVER_PORT). | ||||
| * | Fix NilAccept.best_match() so an empty "offers" + default_match picks default | Christopher Allan Webber | 2011-10-18 | 1 | -1/+1 |
| | | | | | | | | Prior to this, NilAccept.best_match([], default_match="default") threw: UnboundLocalError: local variable 'best_offer' referenced before assignment Also added a relevant test. | ||||
| * | 1.2b21.2b2 | Sergey Schetinin | 2011-10-15 | 1 | -1/+1 |
| | | |||||
| * | * Fix ``request.cookies.get('name', 'default')``. Previously ``default`` was | Chris McDonough | 2011-10-15 | 1 | -1/+1 |
| | | | | | ignored. | ||||
| * | version 1.2b11.2b1 | Sergey Schetinin | 2011-10-15 | 1 | -1/+1 |
| | | |||||
| * | gardenfeature.pylons10compat | Chris McDonough | 2011-10-13 | 1 | -1/+4 |
| | | |||||
| * | be less aggressive about feature removal for benefit of pylons 1.X | Chris McDonough | 2011-10-13 | 2 | -13/+30 |
| | | |||||
| * | * Mutating the ``request.cookies`` property now reflects the mutations intofeature.cookie-bug-for-bug | Chris McDonough | 2011-10-10 | 2 | -11/+142 |
| | | | | | the ``HTTP_COOKIES`` environ header. | ||||
| * | Merge branch 'master' into feature.cookie-bug-for-bug | Chris McDonough | 2011-10-08 | 1 | -4/+11 |
| |\ | |||||
| | * | typo | Chris McDonough | 2011-10-08 | 1 | -1/+1 |
| | | | |||||
| | * | improve deprecation warnings | Chris McDonough | 2011-10-08 | 1 | -4/+11 |
| | | | |||||
| * | | Merge branch 'master' into feature.cookie-bug-for-bug | Chris McDonough | 2011-10-07 | 2 | -20/+9 |
| |\ \ | |/ | |||||
| | * | * Undeprecated ``uscript_name`` and ``upath_info``. | Chris McDonough | 2011-10-06 | 1 | -14/+7 |
| | | | | | | | | | | | | | | | * For backwards compatibility purposes, switch ``req.script_name`` and ``path_info`` back again to contain "raw" undecoded native strings rather than text. Use ``uscript_name`` and ``upath_info`` to get the text version of SCRIPT_NAME and PATH_INFO. | ||||
| | * | * ``Response.request`` and ``Response.environ`` attrs are undeprecated and no | Chris McDonough | 2011-10-06 | 1 | -6/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | longer raise exceptions when used. These can also be passed to the Response constructor. This is to support codebases that pass them to the constructor or assign them to a response instance. However, some behavior differences from 1.1 exist. In particular, synchronization is no longer done between environ and request attribute properties of Response; you may pass either to the constructor (or both) or assign one or the other or both, but they wont be managed specially and will remain the same over the lifetime of the response just as you passed them. Default values for both ``request`` and ``environ`` on any given response are ``None`` now. | ||||
| | * | get docstring descriptions right for cookies and params | Chris McDonough | 2011-10-06 | 1 | -2/+3 |
| | | | |||||
| * | | * Mutating the ``request.cookies`` property now retains the mutated value | Chris McDonough | 2011-10-06 | 2 | -16/+11 |
| |/ | | | | | during the course of a single request (bug-for-bug compatibility with previous versions; in-the-wild codebases depend upon this behavior). | ||||
| * | Merge branch 'master' of github.com:Pylons/webob | Chris McDonough | 2011-10-06 | 2 | -3/+6 |
| |\ | |||||
| | * | fix str(Response()) w/o charset, but only on py2 | Sergey Schetinin | 2011-10-02 | 1 | -2/+1 |
| | | | |||||
| | * | add req.json_body (adapted from Pyramid) | Sergey Schetinin | 2011-09-30 | 1 | -1/+5 |
| | | | |||||
| * | | * Fix deprecation error messages for ``response.request`` and | Chris McDonough | 2011-10-06 | 1 | -2/+2 |
| |/ | | | | | ``response.environ`` (they previously showed ``None`` as the attribute name when displayed). | ||||
| * | forgot the TypeError message | Sergey Schetinin | 2011-09-30 | 1 | -1/+1 |
| | | |||||
| * | merge all methods overridden in ImmutableDict into one | Sergey Schetinin | 2011-09-30 | 1 | -23/+6 |
| | | |||||
| * | * ``request.cookies`` property now returns an immutable dictionary; | Chris McDonough | 2011-09-29 | 2 | -2/+30 |
| | | | | | attempting to modify it will result in a TypeError. | ||||
| * | unused import | Chris McDonough | 2011-09-29 | 1 | -1/+0 |
| | | |||||
| * | remove Accept.best_matches(), add Accept.__iter__() | Sergey Schetinin | 2011-09-26 | 1 | -31/+11 |
| | | |||||
