Repository navigation
add note about pipes applying to static files only - #8415
Merged
Merged
Conversation
5 tasks
Build PASSEDStarted: 2017-11-24 04:49:14 View more information about this build on: |
Member
|
@jgraham do you know why this is the case? is there any reason why we shouldn't make it work everywhere? |
jgraham
approved these changes
Dec 1, 2017
Contributor
|
I think it could work in most cases, it's just that it doesn't at the moment. I would be very happy to get a patch to improve this. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I tried transforming the response coming from a python file handler, and it didn't seem to work, digging into the code seemed to confirm that the pipes are only applied to the response of
FileHandlers, see https://github.com/w3c/web-platform-tests/blob/master/tools/wptserve/wptserve/handlers.py#L150.If this is correct, a note in the docs is helpful from my point of view.
This change is