-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(static): normalize URLs in rewritten CSS and JS
- Loading branch information
Showing
5 changed files
with
583 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
161 changes: 161 additions & 0 deletions
161
...Delivery-Action-unittest_2612775662/main-normalizes-URLs-anywhere_508785622/recording.har
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
{ | ||
"log": { | ||
"_recordingName": "Static Delivery Action #unittest/main() normalizes URLs anywhere", | ||
"creator": { | ||
"comment": "persister:fs", | ||
"name": "Polly.JS", | ||
"version": "2.3.0" | ||
}, | ||
"entries": [ | ||
{ | ||
"_id": "eb3115506cd378743495fae6ca116e5e", | ||
"_order": 0, | ||
"cache": {}, | ||
"request": { | ||
"bodySize": 0, | ||
"cookies": [], | ||
"headers": [ | ||
{ | ||
"name": "user-agent", | ||
"value": "Project Helix Static" | ||
}, | ||
{ | ||
"name": "host", | ||
"value": "raw.githubusercontent.com" | ||
} | ||
], | ||
"headersSize": 170, | ||
"httpVersion": "HTTP/1.1", | ||
"method": "GET", | ||
"queryString": [], | ||
"url": "https://raw.githubusercontent.com/adobe/helix-cli/master/demos/simple/htdocs/style.css" | ||
}, | ||
"response": { | ||
"bodySize": 711, | ||
"content": { | ||
"mimeType": "text/plain; charset=utf-8", | ||
"size": 711, | ||
"text": "/*\n * Copyright 2018 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nbody {\n padding: 8px;\n background-color: white;\n font-family: Arial, sans-serif;\n}" | ||
}, | ||
"cookies": [], | ||
"headers": [ | ||
{ | ||
"name": "content-security-policy", | ||
"value": "default-src 'none'; style-src 'unsafe-inline'; sandbox" | ||
}, | ||
{ | ||
"name": "strict-transport-security", | ||
"value": "max-age=31536000" | ||
}, | ||
{ | ||
"name": "x-content-type-options", | ||
"value": "nosniff" | ||
}, | ||
{ | ||
"name": "x-frame-options", | ||
"value": "deny" | ||
}, | ||
{ | ||
"name": "x-xss-protection", | ||
"value": "1; mode=block" | ||
}, | ||
{ | ||
"name": "etag", | ||
"value": "\"ffb46f86cbf2385c8310afe1a1cc1fc2f81ddf0f\"" | ||
}, | ||
{ | ||
"name": "content-type", | ||
"value": "text/plain; charset=utf-8" | ||
}, | ||
{ | ||
"name": "cache-control", | ||
"value": "max-age=300" | ||
}, | ||
{ | ||
"name": "x-geo-block-list", | ||
"value": "" | ||
}, | ||
{ | ||
"name": "x-github-request-id", | ||
"value": "92E4:692F:6D76F:81D1A:5CC2D895" | ||
}, | ||
{ | ||
"name": "content-length", | ||
"value": "711" | ||
}, | ||
{ | ||
"name": "accept-ranges", | ||
"value": "bytes" | ||
}, | ||
{ | ||
"name": "date", | ||
"value": "Fri, 26 Apr 2019 10:10:13 GMT" | ||
}, | ||
{ | ||
"name": "via", | ||
"value": "1.1 varnish" | ||
}, | ||
{ | ||
"name": "connection", | ||
"value": "close" | ||
}, | ||
{ | ||
"name": "x-served-by", | ||
"value": "cache-fra19123-FRA" | ||
}, | ||
{ | ||
"name": "x-cache", | ||
"value": "HIT" | ||
}, | ||
{ | ||
"name": "x-cache-hits", | ||
"value": "1" | ||
}, | ||
{ | ||
"name": "x-timer", | ||
"value": "S1556273413.375203,VS0,VE0" | ||
}, | ||
{ | ||
"name": "vary", | ||
"value": "Authorization,Accept-Encoding" | ||
}, | ||
{ | ||
"name": "access-control-allow-origin", | ||
"value": "*" | ||
}, | ||
{ | ||
"name": "x-fastly-request-id", | ||
"value": "9113b51dfbcbbdd78b5d8dd7c73df85b14f81b61" | ||
}, | ||
{ | ||
"name": "expires", | ||
"value": "Fri, 26 Apr 2019 10:15:13 GMT" | ||
}, | ||
{ | ||
"name": "source-age", | ||
"value": "111" | ||
} | ||
], | ||
"headersSize": 816, | ||
"httpVersion": "HTTP/1.1", | ||
"redirectURL": "", | ||
"status": 200, | ||
"statusText": "OK" | ||
}, | ||
"startedDateTime": "2019-04-26T10:10:13.256Z", | ||
"time": 156, | ||
"timings": { | ||
"blocked": -1, | ||
"connect": -1, | ||
"dns": -1, | ||
"receive": 0, | ||
"send": 0, | ||
"ssl": -1, | ||
"wait": 156 | ||
} | ||
} | ||
], | ||
"pages": [], | ||
"version": "1.2" | ||
} | ||
} |
Oops, something went wrong.