Skip to content
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

Missing post body data on Safari 9.1 #25

Open
hanchao opened this issue May 15, 2016 · 0 comments
Open

Missing post body data on Safari 9.1 #25

hanchao opened this issue May 15, 2016 · 0 comments

Comments

@hanchao
Copy link

hanchao commented May 15, 2016

fprintf(stdout, "%s\n",buff);
Request *req = requestNew(buff);

Safari 9.1

POST /login/ HTTP/1.1
Host: 127.0.0.1:8080
Content-Type: application/x-www-form-urlencoded
Origin: http://127.0.0.1:8080
Content-Length: 34
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17
Referer: http://127.0.0.1:8080/login/
Accept-Language: zh-cn
Accept-Encoding: gzip, deflate

Chrome 43

POST /login/ HTTP/1.1
Host: 127.0.0.1:8080
Connection: keep-alive
Content-Length: 34
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://127.0.0.1:8080
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: http://127.0.0.1:8080/login/
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8,en;q=0.6

username=hanchao&password=19860123
@hanchao hanchao changed the title Miss post body date on Safari 9.1 Missing post body data on Safari 9.1 May 15, 2016
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

No branches or pull requests

1 participant