Backed out changeset 7020c275e744 (default to SUBDOCUMENT type if request type can't be determined). It should reland properly referencing issue 1210.