Skip to content

Instantly share code, notes, and snippets.

@Bogdanp
Created October 17, 2018 05:40
Show Gist options
  • Save Bogdanp/8c1969d1466431ad68111b6ebdeed627 to your computer and use it in GitHub Desktop.
Save Bogdanp/8c1969d1466431ad68111b6ebdeed627 to your computer and use it in GitHub Desktop.
import typing
class Request(typing.NamedTuple):
method: str
path: str
headers: typing.Mapping[str, str]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment