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
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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