Reads and stores headers correctly.
Checks request methods correctly.