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

code 400, message Bad request syntax #7

Open
whzehz opened this issue Jan 14, 2020 · 4 comments
Open

code 400, message Bad request syntax #7

whzehz opened this issue Jan 14, 2020 · 4 comments

Comments

@whzehz
Copy link

whzehz commented Jan 14, 2020

hprose-php作为客户端 hprose-python作为服务端
hprose-php as client, hprose-python as server

python error
code 400, message Bad request syntax ('\x00\x00\x00\x19Cs8"hyperLPR"a1{s3"123"}z')

@whzehz
Copy link
Author

whzehz commented Jan 14, 2020

who can help me ?

@whzehz
Copy link
Author

whzehz commented Jan 14, 2020

我觉得是编码问题,但是我不知道怎么改

@andot
Copy link
Member

andot commented Jan 15, 2020

python 服务器只支持 http。你的 php 客户端用的不是 http 的,你用的是 tcp 的,所以不能互通。

@whzehz
Copy link
Author

whzehz commented Jan 15, 2020

Thanks, i get it

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

2 participants