question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I’m submitting a…

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->
[x] Feature request
[ ] Documentation issue or request
[ ] Other: <!-- Please describe: -->

Current behavior

Im looking for a way to setup custom http headers for Live Server? I need to add the service-worker-allowed header.

Expected behavior

Being able to setup custom http headers in the Live Server config.

Environment

Browser:

- [x] Chrome (desktop) version: 69.0.3497.128
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:

- Live Server: 5.6.1
- Platform:  macOS Mojave 10.14.6
- Visual Studio Code: 1.38.1

Others

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:6
  • Comments:14

github_iconTop GitHub Comments

13reactions
TradeIdeasPhilipcommented, Mar 14, 2021

And these headers are becoming very important.

Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-origin

https://developer.chrome.com/blog/enabling-shared-array-buffer/#cross-origin-isolation

6reactions
lvcabralcommented, Jun 6, 2021

And these headers are becoming very important.

Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-origin

https://developer.chrome.com/blog/enabling-shared-array-buffer/#cross-origin-isolation

This needs to be addressed soon, as the Chrome 92 (to be released July 2021) will require this header configuration in order to allow SharedArrayBuffer among other features!

Read more comments on GitHub >

github_iconTop Results From Across the Web

HttpHeaders (Spring Framework 6.0.3 API)
A data structure representing HTTP request or response headers, mapping String header names to a list of String values, also offering accessors for...
Read more >
HttpHeaders - Angular
Represents the header configuration options for an HTTP request. Instances are immutable. Modifying methods return a cloned instance with the change.
Read more >
HTTP headers - MDN Web Docs - Mozilla
HTTP headers let the client and the server pass additional information with an HTTP request or response. An HTTP header consists of its ......
Read more >
HttpHeaders (Java(TM) EE 7 Specification APIs)
An injectable interface that provides access to HTTP header information. All methods throw IllegalStateException if called outside the scope of a request (e.g. ......
Read more >
HTTP headers - GeeksforGeeks
The HTTP headers are used to pass additional information between the clients and the server through the request and response header.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found