mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-08 20:28:42 +02:00
MozReview-Commit-ID: 2Z26QRXPNuK --HG-- rename : testing/web-platform/tests/encrypted-media/Google/test-encrypted-different-av-keys.webm => testing/web-platform/tests/encrypted-media/Google/webm/test-encrypted-different-av-keys.webm rename : testing/web-platform/tests/encrypted-media/Google/test-encrypted.webm => testing/web-platform/tests/encrypted-media/Google/webm/test-encrypted.webm rename : testing/web-platform/tests/web-animations/timing-model/timelines/default-document-timeline.html => testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/document-timeline.html rename : testing/web-platform/tests/web-animations/interfaces/DocumentTimeline/idlharness.html => testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/idlharness.html
7 lines
387 B
Python
7 lines
387 B
Python
def main(request, response):
|
|
import datetime, os
|
|
srcpath = os.path.join(os.path.dirname(__file__), "well-formed.xml")
|
|
srcmoddt = datetime.datetime.fromtimestamp(os.path.getmtime(srcpath))
|
|
response.headers.set("Last-Modified", srcmoddt.strftime("%a, %d %b %Y %H:%M:%S GMT"))
|
|
response.headers.set("Content-Type", "application/xml")
|
|
return open(srcpath, "r").read()
|