S
S
sddvxd2019-05-12 15:54:06
Web servers
sddvxd, 2019-05-12 15:54:06

Why is nginx server returning Bad Request in this case?

Good afternoon!
I send an HTTP request to the domain.com domain of the following form:

GET / HTTP/1.1\r\nHOST:domain.com\r\nConnection: Keep-Alive\r\n\r\n

In response, I get a bad request, although the path "/" exists for this site. Please tell me why this might be

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question