Source

WebObTestCoverage / webob / descriptors.py

Author Commit Message Labels Comments Date
Sergey Schetinin
handle the case when environ is missing the SCRIPT_NAME key ( http://trac.pythonpaste.org/pythonpaste/ticket/478 )
Sergey Schetinin
make req.upath_info and req.uscript_name settable
Sergey Schetinin
fix: setting environ_getter attr to None should remove the key from environ (as it was before 1.0)
Sergey Schetinin
separate converter_date from date_header, so it can be used for request headers as well
Sergey Schetinin
make list_headers values tuples, so that they are immutable
Sergey Schetinin
* add list_header, date_header descriptors * reorder code in Response for easier navigation
Sergey Schetinin
* move and rename descriptors._rfc_reference -> util.rfc_reference * move accept_property to acceptparse * move etag_property to etag
Sergey Schetinin
drop webob.headers.normalize_header, just use .lower()
Sergey Schetinin
no reason for uscript_name and upath_info to be settable
Sergey Schetinin
* simpler accept_property implementation * converter converter_args argument is no longer used
Sergey Schetinin
* rewrite UnicodePathProperty as upath_property * simpler etag_property implementation (+missing tests)
Sergey Schetinin
* give converter(..) the same treatment as environ_getter and header_getter * add etag_property and accept_property helper functions
Sergey Schetinin
optimize header_getter to directly work on Response._headerlist
Sergey Schetinin
turn header_getter descriptors into builtin properties as well
Sergey Schetinin
replace environ_getter with a faster and more compact implementation. attrs like req.method are not deletable anymore.
Sergey Schetinin
* fix a couple missed renames * move all the `if not value: return None` from the serializers to converter.__set__
Sergey Schetinin
doc=.. arg to getters is unused as well
Sergey Schetinin
drop unused settable, deletable, default_factory attrs from environ_getter and header_getter
Sergey Schetinin
simplify Response.cache_expires
Sergey Schetinin
fix descriptors exports
Sergey Schetinin
fix datetime_utils exports
Sergey Schetinin
shortpath the most common environ_getter case
Sergey Schetinin
better "Authorization: ..." header parsing + tests
Sergey Schetinin
fix auth header parsing
Sergey Schetinin
fix auth header parsing
mlk
add more auth schemes
mlk
parse/serialize auth params in resp.www_authenticate and req.authorize
mlk
add resp.www_authenticate, parse WWW-Authenticate and Authorization headers
mlk
move Response code to response.py
mlk
move all Request code to request.py. move converter functions to descriptors.py one minor change conditional_response argument of Response. NoDefault is replaced with None. (NoDefault belongs to request.py now)
  1. Prev
  2. 1
  3. 2
  4. Next