Added the ability to generate a code from the HTTP format.