You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2013/03/18 17:23:48 UTC
[Bug 121201] Extensions Update seems broken
https://issues.apache.org/ooo/show_bug.cgi?id=121201
hanya <ha...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hanya.runo@gmail.com
--- Comment #4 from hanya <ha...@gmail.com> ---
I wrote the following Python script to check HEAD request to
aoo-my-sdbc.apache-extras.org.codespot.com:
Result:
HEAD: www.openoffice.org/api/docs/common/ref/index-files/index-1.html:
200 OK
GET: www.openoffice.org/api/docs/common/ref/index-files/index-1.html:
200 OK
HEAD:
aoo-my-sdbc.apache-extras.org.codespot.com/files/aoo-my-sdbc-1.1.0-linux-x86.oxt:
404 Not Found
GET:
aoo-my-sdbc.apache-extras.org.codespot.com/files/aoo-my-sdbc-1.1.0-linux-x86.oxt:
200 OK
the server does not respond to HEAD request.
import httplib
def get(main, path):
conn = httplib.HTTPConnection(main)
conn.request("GET", path)
r2 = conn.getresponse()
print("GET: " + main + path + ":\n" + str(r2.status) + " " +
str(r2.reason))
def head(main, path):
conn = httplib.HTTPConnection(main)
conn.request("HEAD", path)
res = conn.getresponse()
print("HEAD: " + main + path + ":\n" + str(res.status) + " " +
str(res.reason))
s = "www.openoffice.org"
v = "/api/docs/common/ref/index-files/index-1.html"
head(s, v)
get(s, v)
u = "aoo-my-sdbc.apache-extras.org.codespot.com"
t = "/files/aoo-my-sdbc-1.1.0-linux-x86.oxt"
head(u, t)
get(u, t)
--
You are receiving this mail because:
You are the assignee for the bug.