#17531644 · 20 Jan 2010, 16:45 · · პროფილი · პირადი მიმოწერა · ჩატი
QUOTE | The HTTP protocol does not place any a priori limit on the length of a URI. Servers MUST be able to handle the URI of any resource they serve, and SHOULD be able to handle URIs of unbounded length if they provide GET-based forms that could generate such URIs. A server SHOULD return 414 (Request-URI Too Long) status if a URI is longer than the server can handle (see section 10.4.15).
Note: Servers ought to be cautious about depending on URI lengths above 255 bytes, because some older client or proxy implementations might not properly support these lengths. |
რისი ბრალია შენც ხვდები ალბათ, რატომღაც დიდი URL გენერირდება რასაც სერვერი ვეღარ ამუშავებს. უნდა ეცადო და შეამოკლო როგორღაც.
თუ ფორმის გაგზავნის დროს გირტყამს მაგ შეცდომას, სავარაუდოდ ფორმის გაგზავნისთვის GET მეთოდს იყენებ და ყველა პარამეტრი URL-ში მიდის, შესაბამისად სიგრძეც იზრდება. გამოიყენე POST მეთოდი:
QUOTE | <form action="FORM_SUBMIT_URL" method="POST"> ... </form> |
--------------------
http://www.giolekva.com http://www.geolymp.org http://twitter.com/geolymp http://facebook.com/geolymp
|