Skip to content

Commit

Permalink
computers-are-fast
Browse files Browse the repository at this point in the history
  • Loading branch information
thundergolfer committed Jul 1, 2024
1 parent d74d895 commit 64456eb
Show file tree
Hide file tree
Showing 8 changed files with 1,087 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def check_for_spam(email_bytes: bytes) -> bool:
[str(component) for component in config.spam_detect_api_addr]
)

req = urllib.request.Request(f"http://{spam_detect_api_url}")
req.add_header("Content-Type", "application/json; charset=utf-8")
data = json.dumps(body)
data_b = data.encode("utf-8")
Expand Down
383 changes: 383 additions & 0 deletions performance/computers-are-fast/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 64456eb

Please sign in to comment.