POST method

Vitaliy Okulov vitaliy.okulov at gmail.com
Mon Jul 23 17:37:31 MSD 2007


Здравствуйте, nginx-ru.

Вопрос: Вроде в POST нет ограничения кому передавать этот запрос?

Запрос:

Hypertext Transfer Protocol
   POST /44331/4852044331.jpg HTTP/1.1\r\n
       Request Method: POST
       Request URI: /44331/4852044331.jpg
       Request Version: HTTP/1.1
   Content-Type: application/x-www-form-urlencoded\r\n
   Connection: close\r\n
   User-Agent: Profile/MIDP-2.0 Configuration/CLDC-1.0\r\n
   Content-Length: 42
   User-Agent: UNTRUSTED/1.0\r\n
   Host: blabla.ru\r\n
   \r\n
Line-based text data: application/x-www-form-urlencoded
   http://blabla.ru/44331/4852044331.jpg


   Ответ:
Hypertext Transfer Protocol
   HTTP/1.1 405 Not Allowed\r\n
       Request Version: HTTP/1.1
       Response Code: 405
   Server: nginx/0.5.13\r\n
   Date: Mon, 23 Jul 2007 12:40:40 GMT\r\n
   Content-Type: text/html\r\n
   Connection: close\r\n
   Content-Length: 172
   \r\n
Line-based text data: text/html
   <html>
   <head><title>405 Not Allowed</title></head>
   <body bgcolor="white">
   <center><h1>405 Not Allowed</h1></center>
   <hr><center>nginx/0.5.5</center>
   </body>
   </html>

-- 
С уважением,
 Vitaliy                          mailto:vitaliy.okulov at gmail.com






More information about the nginx-ru mailing list