You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 16, 2019. It is now read-only.
The library is only growing more useful every day.
I do have to say that I'm having a problem with x-www-form-urlencoded POST operations on iOS (running 0.10.1-beta.2, Android works fine), since I'm not receiving the query params on the server side.
@jbrodriguez , thanks for reporting this issue, from my understanding the Content-Length header will automatically added when the body is added when request:setHTTPBody (see #94), I'll do some test and report result here.
Yeah, on Android we have to set Content-Length ourself but on IOS it's automatic. I've run some test but unable to replicate the problem you addressed. Any idea ?
@wkh237 awesome work !
The library is only growing more useful every day.
I do have to say that I'm having a problem with x-www-form-urlencoded POST operations on iOS (running 0.10.1-beta.2, Android works fine), since I'm not receiving the query params on the server side.
In this line, https://github.com/wkh237/react-native-fetch-blob/blob/master/src/ios/RNFetchBlobReqBuilder.m#L145
size is unused.
As soon as I set Content-Length with size, I start getting the query params.
This works for me.
It's a small change, but I was wondering if you deliberately weren't setting the length for some reason
The text was updated successfully, but these errors were encountered: