Skip to content

Commit

Permalink
Update scope structure in docs to match what is actually returned by …
Browse files Browse the repository at this point in the history
…the server (#2073)
  • Loading branch information
kaypee90 authored Aug 25, 2023
1 parent 28fc4bd commit fc2130b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,9 @@ An incoming HTTP request might have a connection `scope` like this:
'method': 'GET',
'path': '/',
'headers': [
[b'host', b'127.0.0.1:8000'],
[b'user-agent', b'curl/7.51.0'],
[b'accept', b'*/*']
(b'host', b'127.0.0.1:8000'),
(b'user-agent', b'curl/7.51.0'),
(b'accept', b'*/*')
]
}
```
Expand Down

0 comments on commit fc2130b

Please sign in to comment.