On Jan 31, 2014 9:59 PM, "Tyler Romeo" tylerromeo@gmail.com wrote:
On Fri, Jan 31, 2014 at 8:38 PM, Mark Holmquist <mtraceur@member.fsf.org wrote:
http://restpatterns.org/HTTP_Headers/If-Unmodified-Since
It should be passed a value that matches a Last-Modified value that we get from the previous "fetch page contents" API call.
Unfortunately, MediaWiki refuses to obey the HTTP spec. Hence the reason why we don't have E-Tag support either.
*-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2016 Major in Computer Science _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
The api uses http to transport things around, but ultimately it works on a higher layer than http for the final results. Thus it doesnt make sense to use http headers to describe parts of the returned content, anymore than it would make to use icmp packets to say page not found, since the individual parts of the api response are not the same as the entire response body, but form a higher application specific protocol. (Imo)
-bawolff