Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement custom response interface for service workers #10960
Closed
Labels
Comments
bors-servo
added a commit
that referenced
this issue
May 16, 2016
adding interface for custom responses Fixes #10960 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10961) <!-- Reviewable:end -->
bors-servo
added a commit
that referenced
this issue
May 19, 2016
adding interface for custom responses Fixes #10960 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10961) <!-- Reviewable:end -->
bors-servo
added a commit
that referenced
this issue
May 19, 2016
adding interface for custom responses Fixes #10960 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10961) <!-- Reviewable:end -->
bors-servo
added a commit
that referenced
this issue
May 19, 2016
adding interface for custom responses Fixes #10960 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10961) <!-- Reviewable:end -->
bors-servo
added a commit
that referenced
this issue
May 19, 2016
adding interface for custom responses Fixes #10960 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10961) <!-- Reviewable:end -->
bors-servo
added a commit
that referenced
this issue
May 19, 2016
adding interface for custom responses Fixes #10960 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10961) <!-- Reviewable:end -->
bors-servo
added a commit
that referenced
this issue
May 19, 2016
adding interface for custom responses Fixes #10960 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10961) <!-- Reviewable:end -->
bors-servo
added a commit
that referenced
this issue
May 19, 2016
adding interface for custom responses Fixes #10960 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10961) <!-- Reviewable:end -->
bors-servo
added a commit
that referenced
this issue
May 20, 2016
adding interface for custom responses Fixes #10960 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10961) <!-- Reviewable:end -->
bors-servo
added a commit
that referenced
this issue
May 21, 2016
adding interface for custom responses Fixes #10960 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10961) <!-- Reviewable:end -->
bors-servo
added a commit
that referenced
this issue
May 21, 2016
adding interface for custom responses Fixes #10960 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10961) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note: This is part of the Service Workers project, and assigned to myself.
For scopes which are controlled by a service worker to be able to respond with a custom response, the
http_loader.rsneeds a bit tweaking, to be able to know the source of the request. The network code needs to ask for custom response from client, then wrap it in aStreamedResponse.I am currently working on it.