Also log content-length.
Add proper Rails integration tests.