If anyone's curious about why tracking pixels use a gif, here's a great explanation: https://stackoverflow.com/a/6639140
The pixel is simply there to make the request.
But apparently 204 No Content allows you to omit Content-type. Leaving this up in case anyone else was wondering :)