Closed jpark3000 closed 10 years ago
Other than my last comment about where to parse the Accept-Charset
header, this looks good to go.
Implemented final changes and added specs for Hyperdrive::Utils#enforce_charset!
@jpark3000 Merging this now. bump and release it
Charset
middleware that encodes all param string values to the encoding requested in theAccept-Charset
headerHyperdrive::Utils
the provided encoding is 'matched' to a Ruby supported encoding viaEncoding#find
Accept-Charest
header is*
it defaults toUTF-8
Accept-Charset
header is not recognized aHyperdrive::Errors::NotAcceptable
error is raised