mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005'
This commit is contained in:
parent
ace9b32b1c
commit
df68c4e5d1
15632 changed files with 514865 additions and 155000 deletions
|
@ -67,6 +67,17 @@ import importlib
|
|||
myhelper = importlib.import_module('common.security-features.myhelper')
|
||||
```
|
||||
|
||||
**Note on __init__ files**: Importing helper scripts like this
|
||||
requires a 'path' of empty `__init__.py` files in every directory down
|
||||
to the helper. For example, if your helper is
|
||||
`css/css-align/resources/myhelper.py`, you need to have:
|
||||
|
||||
```
|
||||
css/__init__.py
|
||||
css/css-align/__init__.py
|
||||
css/css-align/resources/__init__.py
|
||||
```
|
||||
|
||||
## Example: Dynamic HTTP headers
|
||||
|
||||
The following code defines a Python handler that allows the requester to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue