https://issues.apache.org/ooo/show_bug.cgi?id=121201
hanya <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #4 from hanya <[email protected]> --- 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.
