Sign in
chromium
/
external
/
github.com
/
jcgregorio
/
httplib2
/
master
/
.
/
test
/
304
/
end2end.cgi
blob: f158f6639775cfc20f86fe014bd8a0ae2f3c21d5 [
file
]
#!/usr/bin/env python
import
os
etag
=
os
.
environ
.
get
(
"HTTP_IF_NONE_MATCH"
,
None
)
if
etag
:
print
"Status: 304 Not Modified"
else
:
print
"Status: 200 Ok"
print
'ETag: "123456779"'
print
"Content-Type: text/html"
print
""
print
"<html></html>"