Skip to content

Instantly share code, notes, and snippets.

@wil
Forked from mnot/link_header.py
Last active December 20, 2015 20:29
Show Gist options
  • Save wil/6190899 to your computer and use it in GitHub Desktop.
Save wil/6190899 to your computer and use it in GitHub Desktop.
HTTP Link header parsing routines originally adapted from [Mark Nottingham's gist](https://gist.github.com/mnot/210535) This version adds a `parse_link_value_by_rel` convenience function to address a common use case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment