Sign in
fuchsia
/
third_party
/
github.com
/
google
/
starlark-go
/
refs/heads/upstream/wip-doc-http-usecase
/
.
/
examples
/
http
/
server.conf
blob: c8cd5685a8a2e015d1c8001b6220380831ea20f6 [
file
] [
log
] [
blame
]
def
hook
(
req
):
print
(
"url=%s, query=%s"
%
(
req
.
url
,
req
.
query
))
if
req
.
url
==
'/food'
and
req
.
query
[
'name'
]
==
'soup'
:
return
"no soup for you!"
return
None
# ok