Skip to content

Instantly share code, notes, and snippets.


Olivier Lance olance

View GitHub Profile
olance /
Last active Aug 29, 2015 — forked from john1king/
Parses a query string to obtain a params dict as it's done in Rails using Rack's Utils lib.
# This is a port from from john1king,
# forked to be fixed, completed & documented
import re
import urllib
class RangeError(Exception):