17
pczavre
6y

Request: GET, girlfriend/

Response: 404 Not Found

Comments
  • 1
    Unsupported method. PUT, POST AND DELETE are possible options
  • 1
    @asgs Smash request
  • 0
    @Haxk20
    Lets
    201 create for you
  • 0
    @Lyniven what's that?
  • 2
    It's gonna be 400 bad request. You are trying to GET a ',' with a protocol: '/girlfriend'.

    Learn your protocols buddy
  • 1
    @netikras if the protocol is not HTTP, then 400 is not a possible status code.

    Actually, it depends on how the "/girlfriend" protocol is defined/implemented
  • 3
    411 Length required 😏
  • 0
    Response: 451
  • 0
    @asgs

    netikras@netikras-xps:~$ nc 172.9.0.5 8080
    GET , /girlfriend
    HTTP/1.1 400
    Transfer-Encoding: chunked
    Date: Thu, 05 Sep 2019 21:28:29 GMT
    Connection: close

    0
  • 1
    @netikras ah, makes sense now. Such a malformed request is still parsed by an HTTP server (running on port 80) which doesn't understand the girlfriend protocol 👌
Add Comment