Full-Text Searching with SQLite Linux fonts
Создано: 19-02-2009 14:55:07 изменено: 30-03-2010 10:26:26  Метки: http
HTTP Help: How to test HTTP using Telnet

Troubleshooting HTTP using telnet is a great way to review exactly what is getting
returned to your browser. This allows you to see headers and collect other information
related to the web server.

Here is an example to build your telnet/HTTP connection from.

>telnet www.esqsoft.globalservers.com 80
Note: this launches telnet and tells it to look up and connect to the server
for "www.esqsoft.globalservers.com" on port 80.

Connected to www.esqsoft.globalservers.com. 
Escape character is '^]'.

GET /index.htm HTTP/1.1
host: www.esqsoft.globalservers.com

1) no OS cursor caret, the connection is open so you just get a blank line waiting for input.
2) need to hit {Enter} twice after the "host:"

HTTP/1.1 200 OK 
Date: Mon, 18 Apr 2005 16:38:00 GMT 
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6 
 PHP/4.1.2 mod_perl/1.27 FrontPage/ Last-Modified: Thu, 01 Jul 2004 01:16:05 GMT 
ETag: "158e008c-182c-40e365d5" 
Accept-Ranges: bytes 
Content-Length: 6188 
Connection: close 
Content-Type: text/html 
  ... ...big long nasty HTML code here... </body></html> 
Connection closed by foreign host. > </pre>

</div><g:plusone size="medium" href="/content/HTTP_Help:_How_to_test_HTTP_using_Telnet"></g:plusone>
<img src="/images/user_16x16.png" alt=""> 1672 просмотров
<span id="answercomment" onclick="ajaxLoad('/ajax.tcl?ajcom=3&follow=0&gallery=0','newcomm30');"><img src="/images/comment_16x16.png" alt="">комментировать
</span><hr><div id="newcomm30"></div></div><br><div class="pages"><a href="/content/Full-Text_Searching_with_SQLite"><img src="/images/left_arrow_16x16.png" style="margin:auto 10px" alt="">Full-Text Searching with SQLite
</a><a href="/content/Linux_fonts" style="float:right">Linux fonts
<img src="/images/right_arrow_16x16.png" style="margin:auto 10px" alt=""></a></div></div><script type="text/javascript">function hidecomments() {  document.getElementById('newcomm30').style.display = 'none'; 
</script><div class="footer"><hr><div class="tags" style="text-align:center">SANYCH.NNOV.RU v0.9.0 от 20 июня 2019 года