Skip to content

Fix macOS test crash: read httpBodyStream when httpBody is nil#3

Open
jonathan-kosgei wants to merge 1 commit intomainfrom
claude/swift-ipdata-sdk-S4ezn
Open

Fix macOS test crash: read httpBodyStream when httpBody is nil#3
jonathan-kosgei wants to merge 1 commit intomainfrom
claude/swift-ipdata-sdk-S4ezn

Conversation

@jonathan-kosgei
Copy link
Contributor

On macOS, URLProtocol delivers POST bodies via httpBodyStream instead of httpBody. The bulk lookup test was force-unwrapping request.httpBody which is nil on macOS, causing a fatal error.

On macOS, URLProtocol delivers POST bodies via httpBodyStream
instead of httpBody. The bulk lookup test was force-unwrapping
request.httpBody which is nil on macOS, causing a fatal error.

https://claude.ai/code/session_01PFKz7y2ynoU3uEVaGxKHYP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants