Example Post page is not working
projectskillz opened this issue · comments
It appears that
connection.requestMultipartSegments[@"heyo"][@"value"];
returns Nil everytime.
Appears to be able to not handle this Content-Type : application/x-www-form-urlencoded.
are you sending a multipart request?
It works fine here, when submitting the form from safari
I am using Google Chrome let me try Safari.
Chrome works for me as well, it shouldn't be sending a multipart, since the
form doesn't specify that.
On Thu, Dec 13, 2012 at 11:47 AM, Ray Garner notifications@github.comwrote:
I am using Google Chrome let me try Safari.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-11320275.
Safari is the same for me.
This is what I get in the console.
*** 1355366944.0x4548000.handle_request.4173: /post
2012-12-13 11:49:04.938 httpiostest6296:5a03
Could it have something to do with the way I put the Framework in the project?
I will try using submodules instead.
you should paste the http request/response data.
How you link to the project shouldn't affect a thing
Request URL:http://172.20.3.23:8081/post
Request Method:POST
Status Code:200 OK
Request Headersview source
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Charset:UTF-8,*;q=0.5
Accept-Encoding:gzip,deflate,sdch
Accept-Language:ja,en-US;q=0.8,en;q=0.6
Cache-Control:max-age=0
Connection:keep-alive
Content-Length:17
Content-Type:application/x-www-form-urlencoded
Host:172.20.3.23:8081
Origin:http://172.20.3.23:8081
Referer:http://172.20.3.23:8081/form
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11
Form Dataview URL encoded
heyo:HTTPPOSTTEST
Response Headers
Connection:keep-alive
Content-Length:0
Content-Type:text/html; charset=utf-8
Date:Thu, 13 Dec 2012 02:54:16 GMT
aah haha, I thought you were using a different test (one in the readme). Yeah test.m is broken, I've pushed a fixed test app
sorry for the misunderstanding
HAHA very big mixup. Yes well thank you for clearing that up works well now.
So you may close this issue if you wish.
Thanks.