Article View: pl.comp.www.server-side
Article #61473Re: Dziwne requesty
From: Grzegorz Staniak
Date: Wed, 07 Aug 2013 08:03
Date: Wed, 07 Aug 2013 08:03
50 lines
2916 bytes
2916 bytes
On 07.08.2013, marek.horodyski@gmail.com <marek.horodyski@gmail.com> wrote:
> [...]
>
>> Content-length albo podajesz takie "jakie by było" gdybyś wysyłał treść,
>> albo omijasz (np. dla zasobów generowanych dynamicznie, dla których
>> nie może być z góry znane). Czyli nie "0".
>
> Ok. Z opisu RFC takich rzeczy właśnie się nie mogę dowiedzieć.
Taaa ;)
14.13 Content-Length
The Content-Length entity-header field indicates the size of the
entity-body, in decimal number of OCTETs, sent to the recipient or,
in the case of the HEAD method, the size of the entity-body that
would have been sent had the request been a GET.
Content-Length = "Content-Length" ":" 1*DIGIT
An example is
Content-Length: 3495
Applications SHOULD use this field to indicate the transfer-length
of the message-body, unless this is prohibited by the rules in
section 4.4.
[...]
4.4 Message Length
The transfer-length of a message is the length of the
message-body as it appears in the message; that is, after any
transfer-codings have been applied. When a message-body is included
with a message, the transfer-length of that body is determined by one
of the following (in order of precedence):
[...]
> c:\Windows\winsxs\amd64_microsoft-windows-telnet-client_31bf3856ad364e35_6.1.7600.16385_none_1426830c3ebb712d\telnet.exe
>
> To chyba nie do użycia.
Można ściągnąć choćby i puTTY, telnet też obsłuży. Poza tym,
windowsowy telnet też powinien rozpoznać argument w postaci numeru
portu. No i zawsze są np. dodatki do Firefoksa.
GS
--
Grzegorz Staniak <gstaniak _at_ gmail *dot* com>
Technical Details
Message-ID:
<slrnl03v59.3tk.wytnij-to_gstaniak@inka.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.cyf-kr.edu.pl!news.nask.pl!news.nask.org.pl!news.internetia.pl!not-for-mailReferences:
<fefdc1fb-b20b-4ba6-90ea-c39bbcb8ac5c@googlegroups.com> <slrnkvq56d.cj8.wytnij-to_gstaniak@inka.pl> <b460f36e-bc57-4312-9d3d-6209bf47ee8d@googlegroups.com> <slrnkvt1u7.tti.wytnij-to_gstaniak@inka.pl> <0e0fe4d4-c68f-4135-92b8-6b63cb90fc88@googlegroups.com> <slrnl00l66.haq.wytnij-to_gstaniak@inka.pl> <97ca123c-3ca0-4004-acc8-c7f547beee62@googlegroups.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.cyf-kr.edu.pl!news.nask.pl!news.nask.org.pl!news.internetia.pl!not-for-mail From: Grzegorz Staniak <wytnij-to_gstaniak@gmail.com> Newsgroups: pl.comp.www.server-side Subject: Re: Dziwne requesty Date: Wed, 7 Aug 2013 08:03:12 +0000 (UTC) Organization: Disorganization Inc. Lines: 50 Message-ID: <slrnl03v59.3tk.wytnij-to_gstaniak@inka.pl> References: <fefdc1fb-b20b-4ba6-90ea-c39bbcb8ac5c@googlegroups.com> <slrnkvq56d.cj8.wytnij-to_gstaniak@inka.pl> <b460f36e-bc57-4312-9d3d-6209bf47ee8d@googlegroups.com> <slrnkvt1u7.tti.wytnij-to_gstaniak@inka.pl> <0e0fe4d4-c68f-4135-92b8-6b63cb90fc88@googlegroups.com> <slrnl00l66.haq.wytnij-to_gstaniak@inka.pl> <97ca123c-3ca0-4004-acc8-c7f547beee62@googlegroups.com> NNTP-Posting-Host: 87.204.222.243 Mime-Version: 1.0 X-Trace: mx1.internetia.pl 1375862592 18218 87.204.222.243 (7 Aug 2013 08:03:12 GMT) X-Complaints-To: abuse@inetia.pl NNTP-Posting-Date: Wed, 7 Aug 2013 08:03:12 +0000 (UTC) X-Tech-Contact: usenet@internetia.pl User-Agent: slrn/1.0.1 (Linux) X-Server-Info: http://www.internetia.pl/ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit