Performance improvement by using strtok instead of regex
Adjusted the spacing
Lets use remove common path instead of string replace to be precise
Better baseUrl formation
Refactored the produced and consumed mime types to writable and readable respectively
Updated resources to use the renamed methods
Lets make sure the writable and readable mime types are reset before adding to them
Lets only consider the extensions of response formats
Lets only consider the extensions of response formats for the overriding formats too