Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: POST method
On Mon, Jul 23, 2007 at 05:37:31PM +0400, Vitaliy Okulov wrote:
> Вопрос: Вроде в POST нет ограничения кому передавать этот запрос?
Нет, ограничения нет. А что должен делать с 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>
--
Игорь Сысоев
http://sysoev.ru
|