Do not check content-type of HTTP 204 messages

This fixes an error in commit 5b2277272dbb489eda5186e0853f7529d621c359.