HTTP/1.1 400 Bad Request using get_headers()

Posted July 22, 2016 4.5k views

I tried curl this url:

why i got HTTP/1.1 400 Bad Request using get_headers() in php?

but, i get HTTP/1.1 200 Ok when i using my local server (XAMPP in Windows) and host with cPanel installed.

note: i’m using Ubuntu 14.04 32 Bit and Nginx.

thank you!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

That IP is not a digitalocean IP address and is blacklisted as a SORBS DUHL spam site. I recommend blocking out IP ranges from to from China.