
Whenyouaredesigning,implementing,andreleasingnewRESTAPIalotofconstraintsandstandardsshouldbeconsidered;oncetheAPIisavailabletopublic,andclientsstartconsumingit,significantchangesareveryhard!TherearelotofAPIdesignsintheweb;butthereisnowidelyadopteddesignwhichworkforallscenarios,thatiswhyyouareleftwithmanychoicesandgreyareas.Sointhismulti-partserieswe’llbebuildingfromscratchasa...
ServingupXHTMLwiththecorrectMIMEtypeWhyisthisnecessary?IanHicksonofOperaSoftware,andoneoftheWorldWideWebConsortium'smajorcontributors,wrotethisarticleinanattempttoclarifythecorrectwaytoserveupdocumentswrittenintheExtensibleHypertextMarkupLanguage(XHTML).TheW3CnoteonXHTMLmediatypesisnotveryspecificabouthowXHTMLshouldbeserved.Useoftheword"should"cr...