No need to capture the space, `( )*`, just ` *` (space-star) should do it?

To have a second pair of eyes read this to see if it means what you think it means: "empty line, followed by a line containing `content-type:[zero or more spaces]application/json`, followed by two new lines?