Fix bug in splitting complex content-type in Site class

Merged Michael R requested to merge fix-content-type-checking into master

Merge request reports