public static string GetFormatModifier(this IRequest httpReq) { var format = httpReq.QueryString[Keywords.Format]; if (format == null) return null; var pos = format.IndexOf('.'); return pos >= 0 ? format.Substring(pos + 1) : null; }