HTML-Representation uses non-existent (remote) stylesheet #1888

Closed
steffkes opened this Issue Jan 30, 2014 · 1 comment

Comments

Projects
None yet
1 participant

When you view a Node in your Browser, requesting something html'ish, you get this:

$ curl -H "Accept: text/html" localhost:7476/db/data/node/5
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><title>Node</title><meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<link href='http://resthtml.neo4j.org/style/rest.css' rel='stylesheet' type='text/css'>
<script type='text/javascript' src='/webadmin/htmlbrowse.js'></script>
</head>
[...]

But the referenced Stylesheet can't be loaded .. Server responds w/ a 404:

$ curl -I http://resthtml.neo4j.org/style/rest.css
HTTP/1.1 404 Not Found
Server: Apache
Accept-Ranges: bytes
Host-Header: 192fc2e7e50945beb8231a492d6a8024
[...]

No idea why the javascript is stored locally but the stylesheet is referenced from a remote location?

Seems that this is no longer the case, the request works (again):

$ curl -I http://resthtml.neo4j.org/style/rest.css
HTTP/1.1 200 OK
x-amz-id-2: fR72CY2CEZYQJKLtR5I36ye0+Vrv3bH+LcJtOUDFIdNFSM3QgZTRZL7piBoJsXAZ
x-amz-request-id: 90A11A8EF3CEA851
Date: Tue, 14 Oct 2014 16:26:05 GMT
Last-Modified: Thu, 29 May 2014 02:54:37 GMT
ETag: "acd840e850b4b9acad15087b2adedf09"
Accept-Ranges: bytes
Content-Type: text/css
Content-Length: 3042
Server: AmazonS3

@steffkes steffkes closed this Oct 14, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment