Fix output for http codes

The "total" value for http codes was erroneously set to the "value" value. This commit corrects this bug.