1. Mike Burrows
  2. link_header

Commits

Author Commit Message Date Builds
Mike Burrows
Add LICENSE and README files
Mike Burrows
version 0.4.2 for PyPi
chrysn
provide convenience functions for context and target
chrysn
more reproducible getattr results * attributes known to be limited to a single value give that value or raise AttributeError * everything else gives a list of values, which may be empty * to easily check whether an attribute is present, __contains__ is implemented. rationale: * as None is a valid value for link-extension types, it can not used as a sentinel return value for "not specified" any more * functions that return …
chrysn
list 'title*' as single valued quoting rfc5988: 'The "title*" parameter MUST NOT appear more than once in a given link-value.'
chrysn
remove trailing whitespace
Mike Burrows
chrysn: accept and roundtrip attributes with blank or missing values, eg '</s/1>; obs; if=core.s'' in rfc6690
Mike Burrows
Description change, mentioning the newly-approved RFC 5988
Mike Burrows
Python 3: minor fix and a disabled doctest
Mike Burrows
Tidy up doctest setup, add setup.cfg
Mike Burrows
API change: conversion to lists is via to_py() methods, not list()
Mike Burrows
Add Link.__getattr__(), test for title* rendering
Mike Burrows
Smart quoting of attribute values; refer to version 07 of the link header spec; add caveat regarding title* attributes
Mike Burrows
Update classification in setup.py
Mike Burrows
Use a headers dict in examples
Mike Burrows
Fix setup.py
Mike Burrows
Add .hgignore
Mike Burrows
Add LinkHeader.links_by_attr_pairs()
Mike Burrows
Add setup.py
Mike Burrows
Initial commit