Skip to content

Instantly share code, notes, and snippets.

@malcommac
Created March 15, 2022 19:16
Show Gist options
  • Save malcommac/c35c1a5c80df98e72994e87fce1db5a4 to your computer and use it in GitHub Desktop.
Save malcommac/c35c1a5c80df98e72994e87fce1db5a4 to your computer and use it in GitHub Desktop.
req.headers[.contentType] = .bmp
req.headers = .init([
.contentType: .bmp
"X-Custom-Header": "abc"
])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment