Skip to content

add note about pipes applying to static files only - #8415

Merged
jgraham merged 1 commit into
web-platform-tests:masterfrom
gterzian:patch-1
Dec 1, 2017
Merged

jgraham merged 1 commit into
web-platform-tests:masterfrom
gterzian:patch-1

Conversation

@gterzian

@gterzian gterzian commented Nov 24, 2017 •

Copy link
Copy Markdown
Contributor

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 Reviewable

@ghost

ghost commented Nov 24, 2017 •

Copy link
Copy Markdown

Build PASSED

Started: 2017-11-24 04:49:14
Finished: 2017-11-24 05:02:38

View more information about this build on:

@gsnedders

Copy link
Copy Markdown
Member

@jgraham do you know why this is the case? is there any reason why we shouldn't make it work everywhere?

@jgraham

jgraham commented Dec 1, 2017

Copy link
Copy Markdown
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.

@jgraham
jgraham merged commit a605a47 into web-platform-tests:master Dec 1, 2017
@gterzian
gterzian deleted the patch-1 branch December 2, 2017 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants