-
-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No HTTP body for requests #16
Comments
And I believe there is a radar for the same issue |
So one possible solution is to set a property when constructing the request. I'm doing the following in my
Then I've modified
And everything now just works :) |
I've made a pull request for the workaround #18 |
Merged ;) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All requests that send data show as "Request body is empty" for the request body despite having the correct Content-Length set in the header
The reason is because when
startLoading()
is called inNFXProtocol
thegetNFXBody()
is nilI believe this is the same issue as:
https://github.com/AliSoftware/OHHTTPStubs/wiki/Testing-for-the-request-body-in-your-stubs
I'm currently seeing if there's a different place to trap and save this data
I'm also using Alamofire but I'm not sure it's related to that
The text was updated successfully, but these errors were encountered: